
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
	
	<title>MAME | src/mame/drivers/pacman.c</title>
	<meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"/>
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	
	<link rel="stylesheet" href="/_include/css/core.css" 
type="text/css" media="screen" /> 
	<!--[if IE 6]><link rel="stylesheet" 
href="/_include/css/ie6.css" type="text/css" media="screen" 
/><![endif]-->
	
	<link href="/_include/img/favicon.ico" rel="shortcut icon"/>
	
</head>

<body>
	
	    <!-- header start -->
    <div id="header">
        <h1><a href="http://www.mamedev.org/" title="Mame Homepage">MAME Multiple Arcade Machine Emulator</a></h1>
        <h2>The official site of the MAME development team</h2>
    </div>
    <!-- header end -->

    
    <!-- main start -->
    <div id="main">
        <div class="clearfix width913">
             
            <!-- sidebar start -->           
            <div id="sidebar">
				                <h2>Information</h2>
                <ul>
                    <li><a href="http://www.mamedev.org/">Home</a></li>
                    <li><a href="http://www.mamedev.org/about.html">About MAME</a></li>
                    <li><a href="http://www.mamedev.org/history.html">Project History</a></li>
                    <li><a href="http://www.mamedev.org/legal.html">Legal</a></li>
                    <li><a href="http://www.mamedev.org/contact.html">Contact</a></li>
                    <li class="lastitem"><a href="http://www.mamedev.org/links.html">Resources</a></li>
                </ul>
                <h2>Downloads</h2>
                <ul>
                    <li><a href="http://www.mamedev.org/release.html">Latest Release</a></li>
                    <li><a href="http://www.mamedev.org/updates.html">Source Updates</a></li>
                    <li><a href="http://www.mamedev.org/oldrel.html">Previous Releases</a></li>
                    <li class="lastitem"><a href="http://www.mamedev.org/roms">ROMs</a></li>
                </ul>
                <h2>Documentation</h2>
                <ul>
                    <li><a href="http://www.mamedev.org/devwiki">Documentation Wiki</a></li>
                    <li><a href="http://www.mamedev.org/devwiki/index.php?title=Frequently_Asked_Questions">MAME FAQ</a></li>
                    <li><a href="http://www.mamedev.org/devwiki/index.php?title=How_MAME_Works">Developer Docs</a></li>
					<li class="lastitem">Documentation Search: 
					<form action="/devwiki/index.php/Special:Search" id="searchform">
						<input id="searchInput" name="search" type="text" accesskey="f" value="" />
						<input type="submit" name="go" class="searchButton" id="searchGoButton"	value="Go" />&nbsp;
						<input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="Search" />
					</form>
					</li>
                </ul>
                <h2>Development</h2>
                <ul>
                    <li><a href="http://git.redump.net/mame/tree/">Browse Source Code</a></li>
                    <li class="lastitem"><a href="http://www.mamedev.org/tools">Development Tools</a></li>
                </ul>

            </div>
            <!-- sidebar end -->
            
            <!-- content start -->         
            <div id="content">
<h3>Viewing File: <a href="../../../index.html">&lt;root&gt;</a>/<a href="../../index.html">src</a>/<a href="../index.html">mame</a>/<a href="index.html">drivers</a>/<a href="pacman.c">pacman.c</a></h3>	<pre class="source">
<span class="linenum">    1</span>&nbsp;&nbsp;<span class="comment">/***************************************************************************
<span class="linenum">    2</span>&nbsp;&nbsp;
<span class="linenum">    3</span>&nbsp;&nbsp;    Namco PuckMan
<span class="linenum">    4</span>&nbsp;&nbsp;
<span class="linenum">    5</span>&nbsp;&nbsp;    driver by Nicola Salmoria and many others
<span class="linenum">    6</span>&nbsp;&nbsp;
<span class="linenum">    7</span>&nbsp;&nbsp;    Games supported:
<span class="linenum">    8</span>&nbsp;&nbsp;        * Puck Man
<span class="linenum">    9</span>&nbsp;&nbsp;        * Pac-Man Plus
<span class="linenum">   10</span>&nbsp;&nbsp;        * Ms. Pac-Man
<span class="linenum">   11</span>&nbsp;&nbsp;        * Crush Roller
<span class="linenum">   12</span>&nbsp;&nbsp;        * Ponpoko
<span class="linenum">   13</span>&nbsp;&nbsp;        * Eyes
<span class="linenum">   14</span>&nbsp;&nbsp;        * Mr. TNT
<span class="linenum">   15</span>&nbsp;&nbsp;        * Gorkans
<span class="linenum">   16</span>&nbsp;&nbsp;        * Lizard Wizard
<span class="linenum">   17</span>&nbsp;&nbsp;        * The Glob
<span class="linenum">   18</span>&nbsp;&nbsp;        * Dream Shopper
<span class="linenum">   19</span>&nbsp;&nbsp;        * Van Van Car
<span class="linenum">   20</span>&nbsp;&nbsp;        * Ali Baba and 40 Thieves
<span class="linenum">   21</span>&nbsp;&nbsp;        * Jump Shot
<span class="linenum">   22</span>&nbsp;&nbsp;        * Shoot the Bull
<span class="linenum">   23</span>&nbsp;&nbsp;        * Big Bucks
<span class="linenum">   24</span>&nbsp;&nbsp;        * Driving Force
<span class="linenum">   25</span>&nbsp;&nbsp;        * Eight Ball Action
<span class="linenum">   26</span>&nbsp;&nbsp;        * Porky
<span class="linenum">   27</span>&nbsp;&nbsp;        * MTV Rock-N-Roll Trivia (Part 2)
<span class="linenum">   28</span>&nbsp;&nbsp;        * Woodpecker
<span class="linenum">   29</span>&nbsp;&nbsp;
<span class="linenum">   30</span>&nbsp;&nbsp;
<span class="linenum">   31</span>&nbsp;&nbsp;    Known issues:
<span class="linenum">   32</span>&nbsp;&nbsp;        * mystery items in Ali Baba don't work correctly because of protection
<span class="linenum">   33</span>&nbsp;&nbsp;
<span class="linenum">   34</span>&nbsp;&nbsp;    Known to exist but dumps needed
<span class="linenum">   35</span>&nbsp;&nbsp;        * Eeeek!
<span class="linenum">   36</span>&nbsp;&nbsp;        * Ms Pac Plus
<span class="linenum">   37</span>&nbsp;&nbsp;        * Ms Pac Man Twin
<span class="linenum">   38</span>&nbsp;&nbsp;        * MTV Rock-N-Roll Trivia (Part 2), 1 bad rom. It's not a bad dump, the rom is bad.
<span class="linenum">   39</span>&nbsp;&nbsp;
<span class="linenum">   40</span>&nbsp;&nbsp;****************************************************************************
<span class="linenum">   41</span>&nbsp;&nbsp;
<span class="linenum">   42</span>&nbsp;&nbsp;    Pac-Man memory map (preliminary)
<span class="linenum">   43</span>&nbsp;&nbsp;
<span class="linenum">   44</span>&nbsp;&nbsp;    0000-3fff ROM
<span class="linenum">   45</span>&nbsp;&nbsp;    4000-43ff Video RAM
<span class="linenum">   46</span>&nbsp;&nbsp;    4400-47ff Color RAM
<span class="linenum">   47</span>&nbsp;&nbsp;    4800-4bff RAM Dream Shopper, Van Van Car only.  Pacman uses this block due to a bug in the routine to
<span class="linenum">   48</span>&nbsp;&nbsp;         translate the internal pacman location to a screen address when in the right tunnel.
<span class="linenum">   49</span>&nbsp;&nbsp;    4c00-4fff RAM
<span class="linenum">   50</span>&nbsp;&nbsp;    8000-bfff ROM Ms Pac-Man, Ponpoko, Lizard Wizard, Dream Shopper, Van Van Car, Woodpecker, Ali Babba all use
<span class="linenum">   51</span>&nbsp;&nbsp;         portions of the upper memory area.  Pacman and most bootlegs don't have an A15 line to the cpu so most
<span class="linenum">   52</span>&nbsp;&nbsp;         boards that use upper memmory have an auxillary board that plugs into the cpu socket with a ribbon cable.
<span class="linenum">   53</span>&nbsp;&nbsp;         There is also a common Ms Pacman hack for pacman bootlegs to wire A15 from the cpu to the address decoder
<span class="linenum">   54</span>&nbsp;&nbsp;         in place of the refresh line. The extra eproms are stacked on lower eproms or placed in unused sockets for
<span class="linenum">   55</span>&nbsp;&nbsp;         2k roms.
<span class="linenum">   56</span>&nbsp;&nbsp;
<span class="linenum">   57</span>&nbsp;&nbsp;
<span class="linenum">   58</span>&nbsp;&nbsp;    memory mapped ports:
<span class="linenum">   59</span>&nbsp;&nbsp;
<span class="linenum">   60</span>&nbsp;&nbsp;    read:
<span class="linenum">   61</span>&nbsp;&nbsp;    5000      IN0
<span class="linenum">   62</span>&nbsp;&nbsp;    5040      IN1
<span class="linenum">   63</span>&nbsp;&nbsp;    5080      DSW 1
<span class="linenum">   64</span>&nbsp;&nbsp;    50c0      DSW 2 (Ponpoko, mschamp, Van Van Car, Rock and Roll Trivia 2 only)
<span class="linenum">   65</span>&nbsp;&nbsp;    see the input_ports definition below for details on the input bits
<span class="linenum">   66</span>&nbsp;&nbsp;
<span class="linenum">   67</span>&nbsp;&nbsp;    write:
<span class="linenum">   68</span>&nbsp;&nbsp;    4ff0-4fff 8 pairs of two bytes:
<span class="linenum">   69</span>&nbsp;&nbsp;              the first byte contains the sprite image number (bits 2-7), Y flip (bit 0),
<span class="linenum">   70</span>&nbsp;&nbsp;              X flip (bit 1); the second byte the color.  Note: Only Ponpoko has 8 sprites
<span class="linenum">   71</span>&nbsp;&nbsp;              an original Midway Pacman board containls only the center 6 sprites.
<span class="linenum">   72</span>&nbsp;&nbsp;    5000      interrupt enable
<span class="linenum">   73</span>&nbsp;&nbsp;    5001      sound enable
<span class="linenum">   74</span>&nbsp;&nbsp;    5002      latch at location 8K has no connection for this address
<span class="linenum">   75</span>&nbsp;&nbsp;    5003      flip screen
<span class="linenum">   76</span>&nbsp;&nbsp;    5004      1 player start lamp
<span class="linenum">   77</span>&nbsp;&nbsp;    5005      2 players start lamp
<span class="linenum">   78</span>&nbsp;&nbsp;    5006      coin lockout                      Note: no boards are known to contain the output
<span class="linenum">   79</span>&nbsp;&nbsp;            transistors to drive a lamp or coin lockout.   The schematics and boards show no connection
<span class="linenum">   80</span>&nbsp;&nbsp;            to the output of the latch at location 8k
<span class="linenum">   81</span>&nbsp;&nbsp;    5007      coin counter
<span class="linenum">   82</span>&nbsp;&nbsp;    5040-5044 sound voice 1 accumulator (nibbles) (used by the sound hardware only)
<span class="linenum">   83</span>&nbsp;&nbsp;    5045      sound voice 1 waveform (nibble)
<span class="linenum">   84</span>&nbsp;&nbsp;    5046-5049 sound voice 2 accumulator (nibbles) (used by the sound hardware only)
<span class="linenum">   85</span>&nbsp;&nbsp;    504a      sound voice 2 waveform (nibble)
<span class="linenum">   86</span>&nbsp;&nbsp;    504b-504e sound voice 3 accumulator (nibbles) (used by the sound hardware only)
<span class="linenum">   87</span>&nbsp;&nbsp;    504f      sound voice 3 waveform (nibble)
<span class="linenum">   88</span>&nbsp;&nbsp;    5050-5054 sound voice 1 frequency (nibbles)
<span class="linenum">   89</span>&nbsp;&nbsp;    5055      sound voice 1 volume (nibble)
<span class="linenum">   90</span>&nbsp;&nbsp;    5056-5059 sound voice 2 frequency (nibbles)
<span class="linenum">   91</span>&nbsp;&nbsp;    505a      sound voice 2 volume (nibble)
<span class="linenum">   92</span>&nbsp;&nbsp;    505b-505e sound voice 3 frequency (nibbles)
<span class="linenum">   93</span>&nbsp;&nbsp;    505f      sound voice 3 volume (nibble)
<span class="linenum">   94</span>&nbsp;&nbsp;    5060-506f Sprite coordinates, x/y pairs for 8 sprites
<span class="linenum">   95</span>&nbsp;&nbsp;    50c0      Watchdog reset
<span class="linenum">   96</span>&nbsp;&nbsp;
<span class="linenum">   97</span>&nbsp;&nbsp;    I/O ports:
<span class="linenum">   98</span>&nbsp;&nbsp;    OUT on port $0 sets the interrupt vector
<span class="linenum">   99</span>&nbsp;&nbsp;
<span class="linenum">  100</span>&nbsp;&nbsp;
<span class="linenum">  101</span>&nbsp;&nbsp;****************************************************************************
<span class="linenum">  102</span>&nbsp;&nbsp;
<span class="linenum">  103</span>&nbsp;&nbsp;    Make Trax protection description:
<span class="linenum">  104</span>&nbsp;&nbsp;
<span class="linenum">  105</span>&nbsp;&nbsp;    Make Trax has a "Special" chip that it uses for copy protection.
<span class="linenum">  106</span>&nbsp;&nbsp;    The following chart shows when reads and writes may occur:
<span class="linenum">  107</span>&nbsp;&nbsp;
<span class="linenum">  108</span>&nbsp;&nbsp;    AAAAAAAA AAAAAAAA
<span class="linenum">  109</span>&nbsp;&nbsp;    11111100 00000000  &lt;- address bits
<span class="linenum">  110</span>&nbsp;&nbsp;    54321098 76543210
<span class="linenum">  111</span>&nbsp;&nbsp;    xxx1xxxx 01xxxxxx - read data bits 4 and 7
<span class="linenum">  112</span>&nbsp;&nbsp;    xxx1xxxx 10xxxxxx - read data bits 6 and 7
<span class="linenum">  113</span>&nbsp;&nbsp;    xxx1xxxx 11xxxxxx - read data bits 0 through 5
<span class="linenum">  114</span>&nbsp;&nbsp;
<span class="linenum">  115</span>&nbsp;&nbsp;    xxx1xxxx 00xxx100 - write to Special
<span class="linenum">  116</span>&nbsp;&nbsp;    xxx1xxxx 00xxx101 - write to Special
<span class="linenum">  117</span>&nbsp;&nbsp;    xxx1xxxx 00xxx110 - write to Special
<span class="linenum">  118</span>&nbsp;&nbsp;    xxx1xxxx 00xxx111 - write to Special
<span class="linenum">  119</span>&nbsp;&nbsp;
<span class="linenum">  120</span>&nbsp;&nbsp;    In practical terms, it reads from Special when it reads from
<span class="linenum">  121</span>&nbsp;&nbsp;    location $5040-$50FF.  Note that these locations overlap our
<span class="linenum">  122</span>&nbsp;&nbsp;    inputs and Dip Switches.  Yuk.
<span class="linenum">  123</span>&nbsp;&nbsp;
<span class="linenum">  124</span>&nbsp;&nbsp;    I don't bother trapping the writes right now, because I don't
<span class="linenum">  125</span>&nbsp;&nbsp;    know how to interpret them.  However, comparing against Crush
<span class="linenum">  126</span>&nbsp;&nbsp;    Roller gives most of the values necessary on the reads.
<span class="linenum">  127</span>&nbsp;&nbsp;
<span class="linenum">  128</span>&nbsp;&nbsp;    Instead of always reading from $5040, $5080, and $50C0, the Make
<span class="linenum">  129</span>&nbsp;&nbsp;    Trax programmers chose to read from a wide variety of locations,
<span class="linenum">  130</span>&nbsp;&nbsp;    probably to make debugging easier.  To us, it means that for the most
<span class="linenum">  131</span>&nbsp;&nbsp;    part we can just assign a specific value to return for each address and
<span class="linenum">  132</span>&nbsp;&nbsp;    we'll be OK.  This falls apart for the following addresses:  $50C0, $508E,
<span class="linenum">  133</span>&nbsp;&nbsp;    $5090, and $5080.  These addresses should return multiple values.  The other
<span class="linenum">  134</span>&nbsp;&nbsp;    ugly thing happening is in the ROMs at $3AE5.  It keeps checking for
<span class="linenum">  135</span>&nbsp;&nbsp;    different values of $50C0 and $5080, and weird things happen if it gets
<span class="linenum">  136</span>&nbsp;&nbsp;    the wrong values.  The only way I've found around these is to patch the
<span class="linenum">  137</span>&nbsp;&nbsp;    ROMs using the same patches Crush Roller uses.  The only thing to watch
<span class="linenum">  138</span>&nbsp;&nbsp;    with this is that changing the ROMs will break the beginning checksum.
<span class="linenum">  139</span>&nbsp;&nbsp;    That's why we use the rom opcode decode function to do our patches.
<span class="linenum">  140</span>&nbsp;&nbsp;
<span class="linenum">  141</span>&nbsp;&nbsp;    Incidentally, there are extremely few differences between Crush Roller
<span class="linenum">  142</span>&nbsp;&nbsp;    and Make Trax.  About 98% of the differences appear to be either unused
<span class="linenum">  143</span>&nbsp;&nbsp;    bytes, the name of the game, or code related to the protection.  I've
<span class="linenum">  144</span>&nbsp;&nbsp;    only spotted two or three actual differences in the games, and they all
<span class="linenum">  145</span>&nbsp;&nbsp;    seem minor.
<span class="linenum">  146</span>&nbsp;&nbsp;
<span class="linenum">  147</span>&nbsp;&nbsp;    If anybody cares, here's a list of disassembled addresses for every
<span class="linenum">  148</span>&nbsp;&nbsp;    read and write to the Special chip (not all of the reads are
<span class="linenum">  149</span>&nbsp;&nbsp;    specifically for checking the Special bits, some are for checking
<span class="linenum">  150</span>&nbsp;&nbsp;    player inputs and Dip Switches):
<span class="linenum">  151</span>&nbsp;&nbsp;
<span class="linenum">  152</span>&nbsp;&nbsp;    Writes: $0084, $012F, $0178, $023C, $0C4C, $1426, $1802, $1817,
<span class="linenum">  153</span>&nbsp;&nbsp;        $280C, $2C2E, $2E22, $3205, $3AB7, $3ACC, $3F3D, $3F40,
<span class="linenum">  154</span>&nbsp;&nbsp;        $3F4E, $3F5E
<span class="linenum">  155</span>&nbsp;&nbsp;    Reads:  $01C8, $01D2, $0260, $030E, $040E, $0416, $046E, $0474,
<span class="linenum">  156</span>&nbsp;&nbsp;        $0560, $0568, $05B0, $05B8, $096D, $0972, $0981, $0C27,
<span class="linenum">  157</span>&nbsp;&nbsp;        $0C2C, $0F0A, $10B8, $10BE, $111F, $1127, $1156, $115E,
<span class="linenum">  158</span>&nbsp;&nbsp;        $11E3, $11E8, $18B7, $18BC, $18CA, $1973, $197A, $1BE7,
<span class="linenum">  159</span>&nbsp;&nbsp;        $1C06, $1C9F, $1CAA, $1D79, $213D, $2142, $2389, $238F,
<span class="linenum">  160</span>&nbsp;&nbsp;        $2AAE, $2BF4, $2E0A, $39D5, $39DA, $3AE2, $3AEA, $3EE0,
<span class="linenum">  161</span>&nbsp;&nbsp;        $3EE9, $3F07, $3F0D
<span class="linenum">  162</span>&nbsp;&nbsp;
<span class="linenum">  163</span>&nbsp;&nbsp;
<span class="linenum">  164</span>&nbsp;&nbsp;*****************************************************************************************
<span class="linenum">  165</span>&nbsp;&nbsp;notes:
<span class="linenum">  166</span>&nbsp;&nbsp;------
<span class="linenum">  167</span>&nbsp;&nbsp;- Pacman: The Cabinet Type "dip switch" actually comes from the edge connector.  "Dip switches" #7(0x40) and #8(0x80)
<span class="linenum">  168</span>&nbsp;&nbsp;  are really solder pads. The actual dip #7 is Rack advance from IN0 and dip #8 is video freeze which is handled in
<span class="linenum">  169</span>&nbsp;&nbsp;  hardware.
<span class="linenum">  170</span>&nbsp;&nbsp;
<span class="linenum">  171</span>&nbsp;&nbsp;- Pacman: Pacman contains a bug in the up direction of pacman animation. The circle animation is 1 pixel to low.
<span class="linenum">  172</span>&nbsp;&nbsp;  Pucman set 1 has a patch to fix it at 1700-1704
<span class="linenum">  173</span>&nbsp;&nbsp;
<span class="linenum">  174</span>&nbsp;&nbsp;- Puckman set 1 is likely a bootleg since the protection is patched out, set 2 would likely
<span class="linenum">  175</span>&nbsp;&nbsp;  be correct if the roms were split differently.  Nicola had said that he had a readme that mentioned 2k roms,
<span class="linenum">  176</span>&nbsp;&nbsp;  it is likely they were all 2k or all 4k, not mixed. I have seen a puckman cocktail cab with masked 4k roms.
<span class="linenum">  177</span>&nbsp;&nbsp;  Any code changes to the first two roms will affect the random number generator so it should be assumed to play
<span class="linenum">  178</span>&nbsp;&nbsp;  differently.
<span class="linenum">  179</span>&nbsp;&nbsp;
<span class="linenum">  180</span>&nbsp;&nbsp;- puckman set 3 (previously labeled(harder?):
<span class="linenum">  181</span>&nbsp;&nbsp;  npacmod.6j and NAMCOPAC.6J
<span class="linenum">  182</span>&nbsp;&nbsp;  00000031: AF 25    ;3031 is sub for fail rom check.
<span class="linenum">  183</span>&nbsp;&nbsp;  00000032: C3 7C    ;301c is sub for pass rom check
<span class="linenum">  184</span>&nbsp;&nbsp;  00000033: 1C E6    ;so it now clears the sum (reg A) and
<span class="linenum">  185</span>&nbsp;&nbsp;  00000034: 30 F0    ;jumps to pass if it fails rom check.
<span class="linenum">  186</span>&nbsp;&nbsp;  000007F8: 31 30  c 1981 / c 1980
<span class="linenum">  187</span>&nbsp;&nbsp;  0000080B-12:   ghost / nickname
<span class="linenum">  188</span>&nbsp;&nbsp;  00000FFF: 00 F1  checksum
<span class="linenum">  189</span>&nbsp;&nbsp;
<span class="linenum">  190</span>&nbsp;&nbsp;- mspacmab: this is the equivalent of pacman with the ms pacman overlays permanently installed.  There are a few
<span class="linenum">  191</span>&nbsp;&nbsp;  extra bytes that don't seemed to be used at all.  The Rom check is patched to never fail.  Many repair shops will
<span class="linenum">  192</span>&nbsp;&nbsp;  install this code in all ms pacman boards.  Since the overlays move in and out during play on the original it is
<span class="linenum">  193</span>&nbsp;&nbsp;  unknown if this version will play the same. It is possible to identify if a board is running this or the original
<span class="linenum">  194</span>&nbsp;&nbsp;  code by observing the behavior on boot.
<span class="linenum">  195</span>&nbsp;&nbsp;
<span class="linenum">  196</span>&nbsp;&nbsp;- mspacmnf,pacmanf: These sets are the results of replacing 6f with what is known as the speedup chip. These are more
<span class="linenum">  197</span>&nbsp;&nbsp;  popular than the original with operators and players.  The pacman speedup breaks the attract mode and intermissions.
<span class="linenum">  198</span>&nbsp;&nbsp;  There's a modern speedup chip that fixes this.
<span class="linenum">  199</span>&nbsp;&nbsp;
<span class="linenum">  200</span>&nbsp;&nbsp;- Pacmod Harder compared to Pacman
<span class="linenum">  201</span>&nbsp;&nbsp;  pacmanh.5E
<span class="linenum">  202</span>&nbsp;&nbsp;  erase tiles $25:"."   $28-$2e:"NAMCO"   $5c:copyright C
<span class="linenum">  203</span>&nbsp;&nbsp;
<span class="linenum">  204</span>&nbsp;&nbsp;  program code
<span class="linenum">  205</span>&nbsp;&nbsp;  pacman/pacmod
<span class="linenum">  206</span>&nbsp;&nbsp;  0843: 14 0F  Table of when ghosts come out of house.
<span class="linenum">  207</span>&nbsp;&nbsp;  0844: 1E 14
<span class="linenum">  208</span>&nbsp;&nbsp;  0845: 46 37
<span class="linenum">  209</span>&nbsp;&nbsp;  0846: 00 04 pink,   level 1
<span class="linenum">  210</span>&nbsp;&nbsp;  0847: 1E 18 blue
<span class="linenum">  211</span>&nbsp;&nbsp;  0848: 3C 34 orange
<span class="linenum">  212</span>&nbsp;&nbsp;  0849: 00 02         level 2
<span class="linenum">  213</span>&nbsp;&nbsp;  084A: 00 06
<span class="linenum">  214</span>&nbsp;&nbsp;  084B: 32 28
<span class="linenum">  215</span>&nbsp;&nbsp;  084c: 00 00         level 3
<span class="linenum">  216</span>&nbsp;&nbsp;  084D: 00 04
<span class="linenum">  217</span>&nbsp;&nbsp;  084E: 00 08
<span class="linenum">  218</span>&nbsp;&nbsp;  0FFF: 36 54  checksum
<span class="linenum">  219</span>&nbsp;&nbsp;  2795: 29 00  pink ghost ai, points target to 2 tiles in front of pac instead of 4.
<span class="linenum">  220</span>&nbsp;&nbsp;  281F: 40 24  orange ghost ai, change close/far breakpoint from $40 to $24.
<span class="linenum">  221</span>&nbsp;&nbsp;  2FFF: 4C 91    checksum
<span class="linenum">  222</span>&nbsp;&nbsp;  37F8,3d28,3d43:  change 1980 to 1981
<span class="linenum">  223</span>&nbsp;&nbsp;  Notice the harder upgrade was 2 roms only. 6e,6h.  The others are from a newer set.
<span class="linenum">  224</span>&nbsp;&nbsp;
<span class="linenum">  225</span>&nbsp;&nbsp;- joyman: Pacman maze hack, but they left the dots as is, the music has been mangled as well.
<span class="linenum">  226</span>&nbsp;&nbsp;
<span class="linenum">  227</span>&nbsp;&nbsp;- ctrpllrp: Caterpillar is like Piranha in that it was sold as a unique game.  They were hoping no one would notice
<span class="linenum">  228</span>&nbsp;&nbsp;  it uses pacman code for it's base.  Unlike Piranha as far as I know they got away with it.
<span class="linenum">  229</span>&nbsp;&nbsp;  Differences include new music in the intermissions.
<span class="linenum">  230</span>&nbsp;&nbsp;
<span class="linenum">  231</span>&nbsp;&nbsp;- mspacatk: This is the alternate maze chip. The mazes are new but the fruit paths are not changed, causing fruit
<span class="linenum">  232</span>&nbsp;&nbsp;  to move through walls.  There are at least two different hacks of this chip to fix it.
<span class="linenum">  233</span>&nbsp;&nbsp;
<span class="linenum">  234</span>&nbsp;&nbsp;- mspacpls: This romset is hacked.  mspacatk.2 is more commonly known as the "cheat chip" and is used on bootleg
<span class="linenum">  235</span>&nbsp;&nbsp;  ms pacs  in place of boot2. It was created circa 1997 by Doc Cutlip and allows turbo speed and invulnerability.
<span class="linenum">  236</span>&nbsp;&nbsp;  mspacatk.5 and .6 contain the decoded maze data for ms pac plus.  The actual dump is not available.
<span class="linenum">  237</span>&nbsp;&nbsp;  I believe the actual version contains more than just new maze data.
<span class="linenum">  238</span>&nbsp;&nbsp;
<span class="linenum">  239</span>&nbsp;&nbsp;- pacgal:  This is a common hack found on make trax and other boards.  Mostly they use 4k eproms but Make Trax allows
<span class="linenum">  240</span>&nbsp;&nbsp;  4x2k for graphics. Boot5 and 6 are stacked on boot3 and 4, the refresh hack is used for addressing.   Usually
<span class="linenum">  241</span>&nbsp;&nbsp;  they swap out the 4a color prom as well.  The bootlegger here was apparently too cheap to burn the prom and kept the
<span class="linenum">  242</span>&nbsp;&nbsp;  make trax colors.  Other than that this is an insignificant set.
<span class="linenum">  243</span>&nbsp;&nbsp;
<span class="linenum">  244</span>&nbsp;&nbsp;  Comparing files boot3 and PACMAN.7FH
<span class="linenum">  245</span>&nbsp;&nbsp;  0000069F: 01 03   ;runs on boot only, probably garbage bit
<span class="linenum">  246</span>&nbsp;&nbsp;  Comparing files boot4 and PACMAN.7HJ
<span class="linenum">  247</span>&nbsp;&nbsp;  00000807-812:  ;Changes "MS PAC-MAN" to "PAC-GAL"
<span class="linenum">  248</span>&nbsp;&nbsp;  00000D3E-D4C:  ;Erases  c MIDWAY MFG CO
<span class="linenum">  249</span>&nbsp;&nbsp;  00000D97-DA0:  ;Changes MS PAC-MAN  to  PAC-GAL
<span class="linenum">  250</span>&nbsp;&nbsp;  Comparing files 5f and 5F PacGal
<span class="linenum">  251</span>&nbsp;&nbsp;  000007D5: 00 01 garbage bit in otherwise blank sprite $1f
<span class="linenum">  252</span>&nbsp;&nbsp;
<span class="linenum">  253</span>&nbsp;&nbsp;- maketrax: All Make Trax boards are Crush Roller boards.  They have Crush Roller screen printed on them covered by
<span class="linenum">  254</span>&nbsp;&nbsp;  a Williams sticker.  The roms also have another sticker under the Williams sticker.
<span class="linenum">  255</span>&nbsp;&nbsp;
<span class="linenum">  256</span>&nbsp;&nbsp;- maketrxb:  This board looked slightly different than the standard make trax.  The usual Red and Yellow jumper wires
<span class="linenum">  257</span>&nbsp;&nbsp;  for sync inversion were smaller and white and the stickers were slightly different.
<span class="linenum">  258</span>&nbsp;&nbsp;
<span class="linenum">  259</span>&nbsp;&nbsp;- Pac and Paint: Even though this seems to be a unique game the marquee shows a paintbush.  The board has standard
<span class="linenum">  260</span>&nbsp;&nbsp;  crush roller roms.  It is slightly different from a Make Trax board in that the sync inverter chip is missing and
<span class="linenum">  261</span>&nbsp;&nbsp;  there are no jumper wires.
<span class="linenum">  262</span>&nbsp;&nbsp;
<span class="linenum">  263</span>&nbsp;&nbsp;- jumpshotp: This board was acquired by Pokemame from a former midway employee.  The hardware is identical to normal boards
<span class="linenum">  264</span>&nbsp;&nbsp;  except the daughterboard is missing the epoxy potting.  Board was labeled engineering sample. Code differences
<span class="linenum">  265</span>&nbsp;&nbsp;  include dips, starting position and cheerleader text.
<span class="linenum">  266</span>&nbsp;&nbsp;
<span class="linenum">  267</span>&nbsp;&nbsp;- sprglobp: This might be original or someone may have combined the program roms from the glob with roms from super.
<span class="linenum">  268</span>&nbsp;&nbsp;  I believe there is a set that uses 1 more program rom than this set.
<span class="linenum">  269</span>&nbsp;&nbsp;
<span class="linenum">  270</span>&nbsp;&nbsp;- Eyes, Mr. Tnt and Lizard Wizard share some code.
<span class="linenum">  271</span>&nbsp;&nbsp;
<span class="linenum">  272</span>&nbsp;&nbsp;- Games that share code with Puckman: Ali Baba, Piranha, Caterpiller, Naughty Mouse, Pacman Plus, ms pacman.  From
<span class="linenum">  273</span>&nbsp;&nbsp;  galaxian hardware steaking and the pacman bootlegs also.
<span class="linenum">  274</span>&nbsp;&nbsp;
<span class="linenum">  275</span>&nbsp;&nbsp;- acitya contains a bug with the insurance in blackjack.  It's impossible to collect, so it's likely that acitya is
<span class="linenum">  276</span>&nbsp;&nbsp;  earlier than bwcasino.
<span class="linenum">  277</span>&nbsp;&nbsp;
<span class="linenum">  278</span>&nbsp;&nbsp;Easter eggs:
<span class="linenum">  279</span>&nbsp;&nbsp;-----------
<span class="linenum">  280</span>&nbsp;&nbsp;- Pacman, Ms Pacman, Piranha and similar display "MADE BY NAMCO" sideways in power pellets.  Hold start 1 and 2 and
<span class="linenum">  281</span>&nbsp;&nbsp;  toggle the test switch to get to the convergence grid.  4xUp, 4xL, 4xR, 4xD.
<span class="linenum">  282</span>&nbsp;&nbsp;
<span class="linenum">  283</span>&nbsp;&nbsp;- Ms. Pac-Man has a hidden message at the very end of ROM memory 0x97d0-0x97ff:
<span class="linenum">  284</span>&nbsp;&nbsp;
<span class="linenum">  285</span>&nbsp;&nbsp;    000097d0: 4745 4e45 5241 4c20 434f 4d50 5554 4552  GENERAL COMPUTER
<span class="linenum">  286</span>&nbsp;&nbsp;    000097e0: 2020 434f 5250 4f52 4154 494f 4e20 2020    CORPORATION
<span class="linenum">  287</span>&nbsp;&nbsp;    000097f0: 4865 6c6c 6f2c 204e 616b 616d 7572 6121  Hello, Nakamura!
<span class="linenum">  288</span>&nbsp;&nbsp;
<span class="linenum">  289</span>&nbsp;&nbsp;  Masaya Nakamura is the founder of Namco who originally produced Pac-Man in Japan.
<span class="linenum">  290</span>&nbsp;&nbsp;  General Computer Corporation designed Ms. Pac-Man and licensed it to Midway for manufacture in North America.
<span class="linenum">  291</span>&nbsp;&nbsp;
<span class="linenum">  292</span>&nbsp;&nbsp;- Super ABC shows developer credits at boot if IN1 is diconnected.
<span class="linenum">  293</span>&nbsp;&nbsp;
<span class="linenum">  294</span>&nbsp;&nbsp;Boards:
<span class="linenum">  295</span>&nbsp;&nbsp;-------
<span class="linenum">  296</span>&nbsp;&nbsp;- puckman is the same as pacman except they are slotted to break a part and have ribbon cables to connect the halves.
<span class="linenum">  297</span>&nbsp;&nbsp;
<span class="linenum">  298</span>&nbsp;&nbsp;- All ms pacman boards are pacman boards with an auxillary cpu board installed on a ribbon cable and 5e,5f changed.
<span class="linenum">  299</span>&nbsp;&nbsp;
<span class="linenum">  300</span>&nbsp;&nbsp;- Pacman Plus, Shoot the Bull, Jumpshot are epoxy potted auxillary cpu boards.  The graphics and
<span class="linenum">  301</span>&nbsp;&nbsp;  color proms are changed as well.  They are labeled Authorized Enhancement Kit Bally/Midway.   Jumpshot=B3172
<span class="linenum">  302</span>&nbsp;&nbsp;
<span class="linenum">  303</span>&nbsp;&nbsp;- The Eyes boards are similar to pacman boards except for the data swapping encryption.  The custom chips are integrated
<span class="linenum">  304</span>&nbsp;&nbsp;  into the board and there is no voltage regulator section.  There is an extra rom at row 6 so row 7 is equivilant to
<span class="linenum">  305</span>&nbsp;&nbsp;  pacman row 6.  Program roms are 4k but graphics roms have unpopulated areas for optional 2k roms.
<span class="linenum">  306</span>&nbsp;&nbsp;
<span class="linenum">  307</span>&nbsp;&nbsp;- Piranha and Naughty Mouse use a board known as the GDP-01 bootleg.  It is similar to an eyes board with an extra row
<span class="linenum">  308</span>&nbsp;&nbsp;  of eproms in row 6 to enable 2k program roms. Thee GDP-01 does not requiree a SBC, but 5 SBC chips can be left unpopulated
<span class="linenum">  309</span>&nbsp;&nbsp;  and a SBC card(GDP-02) can be installed.
<span class="linenum">  310</span>&nbsp;&nbsp;
<span class="linenum">  311</span>&nbsp;&nbsp;- Make Trax/Crush Roller boards are similar to pacman boards, the chip positions are even mostly the same.  There is no
<span class="linenum">  312</span>&nbsp;&nbsp;  voltage regulator section.  Make Trax has sync inverter at 1S, jumper wires run from the edge connector to the
<span class="linenum">  313</span>&nbsp;&nbsp;  inverter and back.  Make Trax/CR boards are easily identified because the edge connector is on the long side,
<span class="linenum">  314</span>&nbsp;&nbsp;  offset to one side.  Make trax and Eyes pinouts are similar enough to test each other but are not playable.
<span class="linenum">  315</span>&nbsp;&nbsp;
<span class="linenum">  316</span>&nbsp;&nbsp;- Atlantic City Action, Boardwalk Casino, The Glob, Super Glob, Beastie Feastie, EEEK! all use identical Epos boards
<span class="linenum">  317</span>&nbsp;&nbsp;  with different pals.  Street heat, Drakton on Donkey Kong also use this board.  It is a cpu auxillary board.  It is
<span class="linenum">  318</span>&nbsp;&nbsp;  not potted but all the chip labels are removed.
<span class="linenum">  319</span>&nbsp;&nbsp;
<span class="linenum">  320</span>&nbsp;&nbsp;- Porky and 8ball action use the same plug in board for pacman.  It is much larger than most and requires some soldering
<span class="linenum">  321</span>&nbsp;&nbsp;  to install.  It includes a new cpu and sound hardware.  Driving force uses a similar board and requires a lot of
<span class="linenum">  322</span>&nbsp;&nbsp;  soldering.
<span class="linenum">  323</span>&nbsp;&nbsp;
<span class="linenum">  324</span>&nbsp;&nbsp;- Lizard Wizard is a potted auxillary cpu board.
<span class="linenum">  325</span>&nbsp;&nbsp;
<span class="linenum">  326</span>&nbsp;&nbsp;- Big Bucks is an auxillary cpu board.
<span class="linenum">  327</span>&nbsp;&nbsp;
<span class="linenum">  328</span>&nbsp;&nbsp;- MTV Trivia is an auxillary cpu board.
<span class="linenum">  329</span>&nbsp;&nbsp;
<span class="linenum">  330</span>&nbsp;&nbsp;- Truco Clemente runs on a pac bootleg with a handwired cpu/graphics auxillary board.  This supports banking of the
<span class="linenum">  331</span>&nbsp;&nbsp;  roms and completely bypasses color proms and video output section of pacman.
<span class="linenum">  332</span>&nbsp;&nbsp;
<span class="linenum">  333</span>&nbsp;&nbsp;- Vanvanb was found on a low quality board assumed to be a bootleg of an original.  The 2 sound chips were on a
<span class="linenum">  334</span>&nbsp;&nbsp;  daughterboard that plugged into a 40 pin socket. Physically it is very different from pacman, although the fact that
<span class="linenum">  335</span>&nbsp;&nbsp;  it uses the same falcon pinout as every other pac boot is a little suspicious.
<span class="linenum">  336</span>&nbsp;&nbsp;
<span class="linenum">  337</span>&nbsp;&nbsp;- Ponpoko uses it's own board.
<span class="linenum">  338</span>&nbsp;&nbsp;
<span class="linenum">  339</span>&nbsp;&nbsp;****************************************************************************/</span>
<span class="linenum">  340</span>&nbsp;&nbsp;
<span class="linenum">  341</span>&nbsp;&nbsp;<span class="preproc">#include</span> <span class="string">"<a href="../../emu/emu.h.html">emu.h</a>"</span>
<span class="linenum">  342</span>&nbsp;&nbsp;<span class="preproc">#include</span> <span class="string">"<a href="../../emu/cpu/z80/z80.h.html">cpu/z80/z80.h</a>"</span>
<span class="linenum">  343</span>&nbsp;&nbsp;<span class="preproc">#include</span> <span class="string">"<a href="../includes/pacman.h.html">includes/pacman.h</a>"</span>
<span class="linenum">  344</span>&nbsp;&nbsp;<span class="preproc">#include</span> <span class="string">"<a href="../../emu/cpu/s2650/s2650.h.html">cpu/s2650/s2650.h</a>"</span>
<span class="linenum">  345</span>&nbsp;&nbsp;<span class="preproc">#include</span> <span class="string">"<a href="../../emu/machine/nvram.h.html">machine/nvram.h</a>"</span>
<span class="linenum">  346</span>&nbsp;&nbsp;<span class="preproc">#include</span> <span class="string">"<a href="../../emu/sound/namco.h.html">sound/namco.h</a>"</span>
<span class="linenum">  347</span>&nbsp;&nbsp;<span class="preproc">#include</span> <span class="string">"<a href="../../emu/sound/ay8910.h.html">sound/ay8910.h</a>"</span>
<span class="linenum">  348</span>&nbsp;&nbsp;<span class="preproc">#include</span> <span class="string">"<a href="../../emu/sound/sn76496.h.html">sound/sn76496.h</a>"</span>
<span class="linenum">  349</span>&nbsp;&nbsp;
<span class="linenum">  350</span>&nbsp;&nbsp;
<span class="linenum">  351</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum">  352</span>&nbsp;&nbsp; *
<span class="linenum">  353</span>&nbsp;&nbsp; *  Constants
<span class="linenum">  354</span>&nbsp;&nbsp; *
<span class="linenum">  355</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum">  356</span>&nbsp;&nbsp;
<span class="linenum">  357</span>&nbsp;&nbsp;<span class="preproc">#define</span> MASTER_CLOCK        (XTAL_18_432MHz)
<span class="linenum">  358</span>&nbsp;&nbsp;
<span class="linenum">  359</span>&nbsp;&nbsp;<span class="preproc">#define</span> PIXEL_CLOCK         (MASTER_CLOCK/3)
<span class="linenum">  360</span>&nbsp;&nbsp;
<span class="linenum">  361</span>&nbsp;&nbsp;<span class="comment">/* H counts from 128-&gt;511, HBLANK starts at 144 and ends at 240 */</span>
<span class="linenum">  362</span>&nbsp;&nbsp;<span class="preproc">#define</span> HTOTAL              (384)
<span class="linenum">  363</span>&nbsp;&nbsp;<span class="preproc">#define</span> HBEND               (0)     <span class="comment">/*(96+16)*/</span>
<span class="linenum">  364</span>&nbsp;&nbsp;<span class="preproc">#define</span> HBSTART             (288)   <span class="comment">/*(16)*/</span>
<span class="linenum">  365</span>&nbsp;&nbsp;
<span class="linenum">  366</span>&nbsp;&nbsp;<span class="preproc">#define</span> VTOTAL              (264)
<span class="linenum">  367</span>&nbsp;&nbsp;<span class="preproc">#define</span> VBEND               (0)     <span class="comment">/*(16)*/</span>
<span class="linenum">  368</span>&nbsp;&nbsp;<span class="preproc">#define</span> VBSTART             (224)   <span class="comment">/*(224+16)*/</span>
<span class="linenum">  369</span>&nbsp;&nbsp;
<span class="linenum">  370</span>&nbsp;&nbsp;
<span class="linenum">  371</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum">  372</span>&nbsp;&nbsp; *
<span class="linenum">  373</span>&nbsp;&nbsp; *  Machine init
<span class="linenum">  374</span>&nbsp;&nbsp; *
<span class="linenum">  375</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum">  376</span>&nbsp;&nbsp;
<span class="linenum">  377</span>&nbsp;&nbsp;MACHINE_RESET_MEMBER(pacman_state,mschamp)
<span class="linenum">  378</span>&nbsp;&nbsp;{
<span class="linenum">  379</span>&nbsp;&nbsp;    UINT8 *rom = machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base() + 0x10000;
<span class="linenum">  380</span>&nbsp;&nbsp;    <span class="keyword">int</span> whichbank = machine().root_device().ioport(<span class="string">"GAME"</span>)-&gt;read() &amp; 1;
<span class="linenum">  381</span>&nbsp;&nbsp;
<span class="linenum">  382</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank1"</span>)-&gt;configure_entries(0, 2, &amp;rom[0x0000], 0x8000);
<span class="linenum">  383</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank2"</span>)-&gt;configure_entries(0, 2, &amp;rom[0x4000], 0x8000);
<span class="linenum">  384</span>&nbsp;&nbsp;
<span class="linenum">  385</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank1"</span>)-&gt;set_entry(whichbank);
<span class="linenum">  386</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank2"</span>)-&gt;set_entry(whichbank);
<span class="linenum">  387</span>&nbsp;&nbsp;}
<span class="linenum">  388</span>&nbsp;&nbsp;
<span class="linenum">  389</span>&nbsp;&nbsp;MACHINE_RESET_MEMBER(pacman_state,superabc)
<span class="linenum">  390</span>&nbsp;&nbsp;{
<span class="linenum">  391</span>&nbsp;&nbsp;    superabc_bank_w(m_maincpu-&gt;space(AS_PROGRAM), 0, 0);
<span class="linenum">  392</span>&nbsp;&nbsp;}
<span class="linenum">  393</span>&nbsp;&nbsp;
<span class="linenum">  394</span>&nbsp;&nbsp;
<span class="linenum">  395</span>&nbsp;&nbsp;
<span class="linenum">  396</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum">  397</span>&nbsp;&nbsp; *
<span class="linenum">  398</span>&nbsp;&nbsp; *  Interrupts
<span class="linenum">  399</span>&nbsp;&nbsp; *
<span class="linenum">  400</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum">  401</span>&nbsp;&nbsp;
<span class="linenum">  402</span>&nbsp;&nbsp;INTERRUPT_GEN_MEMBER(pacman_state::vblank_irq)
<span class="linenum">  403</span>&nbsp;&nbsp;{
<span class="linenum">  404</span>&nbsp;&nbsp;    <span class="keyword">if</span>(m_irq_mask)
<span class="linenum">  405</span>&nbsp;&nbsp;        device.execute().set_input_line(0, HOLD_LINE);
<span class="linenum">  406</span>&nbsp;&nbsp;}
<span class="linenum">  407</span>&nbsp;&nbsp;
<span class="linenum">  408</span>&nbsp;&nbsp;INTERRUPT_GEN_MEMBER(pacman_state::vblank_nmi)
<span class="linenum">  409</span>&nbsp;&nbsp;{
<span class="linenum">  410</span>&nbsp;&nbsp;    <span class="keyword">if</span>(m_irq_mask)
<span class="linenum">  411</span>&nbsp;&nbsp;        device.execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
<span class="linenum">  412</span>&nbsp;&nbsp;}
<span class="linenum">  413</span>&nbsp;&nbsp;
<span class="linenum">  414</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::irq_mask_w)
<span class="linenum">  415</span>&nbsp;&nbsp;{
<span class="linenum">  416</span>&nbsp;&nbsp;    m_irq_mask = data &amp; 1;
<span class="linenum">  417</span>&nbsp;&nbsp;}
<span class="linenum">  418</span>&nbsp;&nbsp;
<span class="linenum">  419</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::pacman_interrupt_vector_w)
<span class="linenum">  420</span>&nbsp;&nbsp;{
<span class="linenum">  421</span>&nbsp;&nbsp;    m_maincpu-&gt;set_input_line_vector(0, data);
<span class="linenum">  422</span>&nbsp;&nbsp;    m_maincpu-&gt;set_input_line(0, CLEAR_LINE);
<span class="linenum">  423</span>&nbsp;&nbsp;}
<span class="linenum">  424</span>&nbsp;&nbsp;
<span class="linenum">  425</span>&nbsp;&nbsp;
<span class="linenum">  426</span>&nbsp;&nbsp;<span class="comment">/*
<span class="linenum">  427</span>&nbsp;&nbsp;   The piranha board has a sync bus controller card similar to Midway's pacman. It
<span class="linenum">  428</span>&nbsp;&nbsp;   stores the LSB of the interrupt vector using port 00 but it alters the byte to prevent
<span class="linenum">  429</span>&nbsp;&nbsp;   it from running on normal pacman hardware and vice versa. I wrote a program to print
<span class="linenum">  430</span>&nbsp;&nbsp;   out the even numbers and the vectors they convert to.  Thanks to Dave France for
<span class="linenum">  431</span>&nbsp;&nbsp;   burning the roms.  The numbers that didn't print here convert to odd numbers.  It's
<span class="linenum">  432</span>&nbsp;&nbsp;   slightly possible some numbers listed converted to odd numbers and coincidentally
<span class="linenum">  433</span>&nbsp;&nbsp;   printed a valid even number.  Since it only uses 2 vectors($fa,$fc) I didn't complete
<span class="linenum">  434</span>&nbsp;&nbsp;   the table or attempt to find the algorithm.
<span class="linenum">  435</span>&nbsp;&nbsp;
<span class="linenum">  436</span>&nbsp;&nbsp;   David Widel
<span class="linenum">  437</span>&nbsp;&nbsp;   Pacman@mailblocks.com
<span class="linenum">  438</span>&nbsp;&nbsp;  out vec  out vec  out vec  out vec
<span class="linenum">  439</span>&nbsp;&nbsp;  c0 44    80 04    40 44    00 04
<span class="linenum">  440</span>&nbsp;&nbsp;  c2 40    82 00    42 C4    02 84
<span class="linenum">  441</span>&nbsp;&nbsp;  c4 C4    84 84    44 C4    04 00
<span class="linenum">  442</span>&nbsp;&nbsp;  c6 40    86 00
<span class="linenum">  443</span>&nbsp;&nbsp;  c8 4C    88 0C    48 4C    08 0C
<span class="linenum">  444</span>&nbsp;&nbsp;  ca 48    8A 08    4A CC    0A 8C
<span class="linenum">  445</span>&nbsp;&nbsp;  cc CC    8C 8C    4C 48    0C 08
<span class="linenum">  446</span>&nbsp;&nbsp;  ce 48    8E 08
<span class="linenum">  447</span>&nbsp;&nbsp;  d0 54    90 14    50 54    10 14
<span class="linenum">  448</span>&nbsp;&nbsp;  d2 50    92 10    52 D4    12 94
<span class="linenum">  449</span>&nbsp;&nbsp;  d4 D4    94 94    54 50    14 10
<span class="linenum">  450</span>&nbsp;&nbsp;  d6 50    96 10
<span class="linenum">  451</span>&nbsp;&nbsp;  d8 5C    98 1C    58 5C    18 1C
<span class="linenum">  452</span>&nbsp;&nbsp;  da 58    9A 18    5A DC    1A 9C
<span class="linenum">  453</span>&nbsp;&nbsp;  dc DC    9C 9C    5C 58    1C 18
<span class="linenum">  454</span>&nbsp;&nbsp;  de 58    9E 18
<span class="linenum">  455</span>&nbsp;&nbsp;  e0 64    a0 24    60 64    20 24
<span class="linenum">  456</span>&nbsp;&nbsp;  e2 60    a2 20    62 E4    22 A4
<span class="linenum">  457</span>&nbsp;&nbsp;  e4 E4    a4 A4    64 60    24 20
<span class="linenum">  458</span>&nbsp;&nbsp;  e6 60    a6 20
<span class="linenum">  459</span>&nbsp;&nbsp;  e8 6C    a8 2C    68 6C    28 2C
<span class="linenum">  460</span>&nbsp;&nbsp;  ea 68    aA 28    6A EC    2A AC
<span class="linenum">  461</span>&nbsp;&nbsp;  ec EC    aC AC    6C 68    2C 28
<span class="linenum">  462</span>&nbsp;&nbsp;  ee 68    aE 28
<span class="linenum">  463</span>&nbsp;&nbsp;  f0 74    b0 34    70 74    30 34
<span class="linenum">  464</span>&nbsp;&nbsp;  f2 70    b2 30    72 F4    32 84
<span class="linenum">  465</span>&nbsp;&nbsp;  f4 F4    b4 B4    74 70    34 30
<span class="linenum">  466</span>&nbsp;&nbsp;  f6 70    b6 30
<span class="linenum">  467</span>&nbsp;&nbsp;  f8 7C    b8 3C    78 7C    38 3C
<span class="linenum">  468</span>&nbsp;&nbsp;  fa 78    bA 38    7A FC    3A BC
<span class="linenum">  469</span>&nbsp;&nbsp;  fc FC    bC BC    7C 78    3C 38
<span class="linenum">  470</span>&nbsp;&nbsp;  fe 78    bE 38
<span class="linenum">  471</span>&nbsp;&nbsp;
<span class="linenum">  472</span>&nbsp;&nbsp;
<span class="linenum">  473</span>&nbsp;&nbsp;Naughty Mouse uses the same board as Piranha with a different pal to encrypt the vectors.
<span class="linenum">  474</span>&nbsp;&nbsp;Incidentally we don't know the actual name of this game.  Other than the word naughty at
<span class="linenum">  475</span>&nbsp;&nbsp;the top of the playfield there's no name.
<span class="linenum">  476</span>&nbsp;&nbsp;
<span class="linenum">  477</span>&nbsp;&nbsp;I haven't examined the code thoroughly but what I
<span class="linenum">  478</span>&nbsp;&nbsp;did look at(sprite buffer), was copied from Pacman.  The addresses for the variables seem
<span class="linenum">  479</span>&nbsp;&nbsp;to be the same as well.
<span class="linenum">  480</span>&nbsp;&nbsp;*/</span>
<span class="linenum">  481</span>&nbsp;&nbsp;
<span class="linenum">  482</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::piranha_interrupt_vector_w)
<span class="linenum">  483</span>&nbsp;&nbsp;{
<span class="linenum">  484</span>&nbsp;&nbsp;    <span class="keyword">if</span> (data == 0xfa) data = 0x78;
<span class="linenum">  485</span>&nbsp;&nbsp;    <span class="keyword">if</span> (data == 0xfc) data = 0xfc;
<span class="linenum">  486</span>&nbsp;&nbsp;    m_maincpu-&gt;set_input_line_vector(0, data );
<span class="linenum">  487</span>&nbsp;&nbsp;}
<span class="linenum">  488</span>&nbsp;&nbsp;
<span class="linenum">  489</span>&nbsp;&nbsp;
<span class="linenum">  490</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::nmouse_interrupt_vector_w)
<span class="linenum">  491</span>&nbsp;&nbsp;{
<span class="linenum">  492</span>&nbsp;&nbsp;    <span class="keyword">if</span> (data == 0xbf) data = 0x3c;
<span class="linenum">  493</span>&nbsp;&nbsp;    <span class="keyword">if</span> (data == 0xc6) data = 0x40;
<span class="linenum">  494</span>&nbsp;&nbsp;    <span class="keyword">if</span> (data == 0xfc) data = 0xfc;
<span class="linenum">  495</span>&nbsp;&nbsp;    m_maincpu-&gt;set_input_line_vector(0, data );
<span class="linenum">  496</span>&nbsp;&nbsp;}
<span class="linenum">  497</span>&nbsp;&nbsp;
<span class="linenum">  498</span>&nbsp;&nbsp;
<span class="linenum">  499</span>&nbsp;&nbsp;
<span class="linenum">  500</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum">  501</span>&nbsp;&nbsp; *
<span class="linenum">  502</span>&nbsp;&nbsp; *  LEDs/coin counters
<span class="linenum">  503</span>&nbsp;&nbsp; *
<span class="linenum">  504</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum">  505</span>&nbsp;&nbsp;
<span class="linenum">  506</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::pacman_leds_w)
<span class="linenum">  507</span>&nbsp;&nbsp;{
<span class="linenum">  508</span>&nbsp;&nbsp;    set_led_status(machine(), offset,data &amp; 1);
<span class="linenum">  509</span>&nbsp;&nbsp;}
<span class="linenum">  510</span>&nbsp;&nbsp;
<span class="linenum">  511</span>&nbsp;&nbsp;
<span class="linenum">  512</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::pacman_coin_counter_w)
<span class="linenum">  513</span>&nbsp;&nbsp;{
<span class="linenum">  514</span>&nbsp;&nbsp;    coin_counter_w(machine(), offset,data &amp; 1);
<span class="linenum">  515</span>&nbsp;&nbsp;}
<span class="linenum">  516</span>&nbsp;&nbsp;
<span class="linenum">  517</span>&nbsp;&nbsp;
<span class="linenum">  518</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::pacman_coin_lockout_global_w)
<span class="linenum">  519</span>&nbsp;&nbsp;{
<span class="linenum">  520</span>&nbsp;&nbsp;    coin_lockout_global_w(machine(), ~data &amp; 0x01);
<span class="linenum">  521</span>&nbsp;&nbsp;}
<span class="linenum">  522</span>&nbsp;&nbsp;
<span class="linenum">  523</span>&nbsp;&nbsp;
<span class="linenum">  524</span>&nbsp;&nbsp;
<span class="linenum">  525</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum">  526</span>&nbsp;&nbsp; *
<span class="linenum">  527</span>&nbsp;&nbsp; *  Ali Baba sound
<span class="linenum">  528</span>&nbsp;&nbsp; *
<span class="linenum">  529</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum">  530</span>&nbsp;&nbsp;
<span class="linenum">  531</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::alibaba_sound_w)
<span class="linenum">  532</span>&nbsp;&nbsp;{
<span class="linenum">  533</span>&nbsp;&nbsp;    <span class="comment">/* since the sound region in Ali Baba is not contiguous, translate the
<span class="linenum">  534</span>&nbsp;&nbsp;       offset into the 0-0x1f range */</span>
<span class="linenum">  535</span>&nbsp;&nbsp;    <span class="keyword">if</span> (offset &lt; 0x10)
<span class="linenum">  536</span>&nbsp;&nbsp;        pacman_sound_w(machine().device(<span class="string">"namco"</span>), space, offset, data);
<span class="linenum">  537</span>&nbsp;&nbsp;    <span class="keyword">else</span> <span class="keyword">if</span> (offset &lt; 0x20)
<span class="linenum">  538</span>&nbsp;&nbsp;        m_spriteram2[offset - 0x10] = data;
<span class="linenum">  539</span>&nbsp;&nbsp;    <span class="keyword">else</span>
<span class="linenum">  540</span>&nbsp;&nbsp;        pacman_sound_w(machine().device(<span class="string">"namco"</span>), space, offset - 0x10, data);
<span class="linenum">  541</span>&nbsp;&nbsp;}
<span class="linenum">  542</span>&nbsp;&nbsp;
<span class="linenum">  543</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::alibaba_mystery_1_r)
<span class="linenum">  544</span>&nbsp;&nbsp;{
<span class="linenum">  545</span>&nbsp;&nbsp;    <span class="comment">/* The return value determines what the mystery item is.  Each bit corresponds
<span class="linenum">  546</span>&nbsp;&nbsp;       to a question mark */</span>
<span class="linenum">  547</span>&nbsp;&nbsp;    <span class="keyword">return</span> machine().rand() &amp; 0x0f;
<span class="linenum">  548</span>&nbsp;&nbsp;}
<span class="linenum">  549</span>&nbsp;&nbsp;
<span class="linenum">  550</span>&nbsp;&nbsp;
<span class="linenum">  551</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::alibaba_mystery_2_r)
<span class="linenum">  552</span>&nbsp;&nbsp;{
<span class="linenum">  553</span>&nbsp;&nbsp;    <span class="comment">/* The single bit return value determines when the mystery is lit up.
<span class="linenum">  554</span>&nbsp;&nbsp;       This is certainly wrong */</span>
<span class="linenum">  555</span>&nbsp;&nbsp;    m_mystery++;
<span class="linenum">  556</span>&nbsp;&nbsp;    <span class="keyword">return</span> (m_mystery &gt;&gt; 10) &amp; 1;
<span class="linenum">  557</span>&nbsp;&nbsp;}
<span class="linenum">  558</span>&nbsp;&nbsp;
<span class="linenum">  559</span>&nbsp;&nbsp;
<span class="linenum">  560</span>&nbsp;&nbsp;
<span class="linenum">  561</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum">  562</span>&nbsp;&nbsp; *
<span class="linenum">  563</span>&nbsp;&nbsp; *  Make Trax input handlers
<span class="linenum">  564</span>&nbsp;&nbsp; *
<span class="linenum">  565</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum">  566</span>&nbsp;&nbsp;
<span class="linenum">  567</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::maketrax_special_port2_r)
<span class="linenum">  568</span>&nbsp;&nbsp;{
<span class="linenum">  569</span>&nbsp;&nbsp;    <span class="keyword">int</span> data = ioport(<span class="string">"DSW1"</span>)-&gt;read();
<span class="linenum">  570</span>&nbsp;&nbsp;    <span class="keyword">int</span> pc = space.device().safe_pcbase();
<span class="linenum">  571</span>&nbsp;&nbsp;
<span class="linenum">  572</span>&nbsp;&nbsp;    <span class="keyword">if</span> ((pc == 0x1973) || (pc == 0x2389)) <span class="keyword">return</span> data | 0x40;
<span class="linenum">  573</span>&nbsp;&nbsp;
<span class="linenum">  574</span>&nbsp;&nbsp;    <span class="keyword">switch</span> (offset)
<span class="linenum">  575</span>&nbsp;&nbsp;    {
<span class="linenum">  576</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x01:
<span class="linenum">  577</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x04:
<span class="linenum">  578</span>&nbsp;&nbsp;            data |= 0x40; <span class="keyword">break</span>;
<span class="linenum">  579</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x05:
<span class="linenum">  580</span>&nbsp;&nbsp;            data |= 0xc0; <span class="keyword">break</span>;
<span class="linenum">  581</span>&nbsp;&nbsp;        <span class="keyword">default</span>:
<span class="linenum">  582</span>&nbsp;&nbsp;            data &amp;= 0x3f; <span class="keyword">break</span>;
<span class="linenum">  583</span>&nbsp;&nbsp;    }
<span class="linenum">  584</span>&nbsp;&nbsp;
<span class="linenum">  585</span>&nbsp;&nbsp;    <span class="keyword">return</span> data;
<span class="linenum">  586</span>&nbsp;&nbsp;}
<span class="linenum">  587</span>&nbsp;&nbsp;
<span class="linenum">  588</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::maketrax_special_port3_r)
<span class="linenum">  589</span>&nbsp;&nbsp;{
<span class="linenum">  590</span>&nbsp;&nbsp;    <span class="keyword">int</span> pc = space.device().safe_pcbase();
<span class="linenum">  591</span>&nbsp;&nbsp;
<span class="linenum">  592</span>&nbsp;&nbsp;    <span class="keyword">if</span> (pc == 0x040e) <span class="keyword">return</span> 0x20;
<span class="linenum">  593</span>&nbsp;&nbsp;
<span class="linenum">  594</span>&nbsp;&nbsp;    <span class="keyword">if</span> ((pc == 0x115e) || (pc == 0x3ae2)) <span class="keyword">return</span> 0x00;
<span class="linenum">  595</span>&nbsp;&nbsp;
<span class="linenum">  596</span>&nbsp;&nbsp;    <span class="keyword">switch</span> (offset)
<span class="linenum">  597</span>&nbsp;&nbsp;    {
<span class="linenum">  598</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x00:
<span class="linenum">  599</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x1f;
<span class="linenum">  600</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x09:
<span class="linenum">  601</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x30;
<span class="linenum">  602</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0c:
<span class="linenum">  603</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x00;
<span class="linenum">  604</span>&nbsp;&nbsp;        <span class="keyword">default</span>:
<span class="linenum">  605</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x20;
<span class="linenum">  606</span>&nbsp;&nbsp;    }
<span class="linenum">  607</span>&nbsp;&nbsp;}
<span class="linenum">  608</span>&nbsp;&nbsp;
<span class="linenum">  609</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::korosuke_special_port2_r)
<span class="linenum">  610</span>&nbsp;&nbsp;{
<span class="linenum">  611</span>&nbsp;&nbsp;    <span class="keyword">int</span> data = ioport(<span class="string">"DSW1"</span>)-&gt;read();
<span class="linenum">  612</span>&nbsp;&nbsp;    <span class="keyword">int</span> pc = space.device().safe_pcbase();
<span class="linenum">  613</span>&nbsp;&nbsp;
<span class="linenum">  614</span>&nbsp;&nbsp;    <span class="keyword">if</span> ((pc == 0x196e) || (pc == 0x2387)) <span class="keyword">return</span> data | 0x40;
<span class="linenum">  615</span>&nbsp;&nbsp;
<span class="linenum">  616</span>&nbsp;&nbsp;    <span class="keyword">switch</span> (offset)
<span class="linenum">  617</span>&nbsp;&nbsp;    {
<span class="linenum">  618</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x01:
<span class="linenum">  619</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x04:
<span class="linenum">  620</span>&nbsp;&nbsp;            data |= 0x40; <span class="keyword">break</span>;
<span class="linenum">  621</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x05:
<span class="linenum">  622</span>&nbsp;&nbsp;            data |= 0xc0; <span class="keyword">break</span>;
<span class="linenum">  623</span>&nbsp;&nbsp;        <span class="keyword">default</span>:
<span class="linenum">  624</span>&nbsp;&nbsp;            data &amp;= 0x3f; <span class="keyword">break</span>;
<span class="linenum">  625</span>&nbsp;&nbsp;    }
<span class="linenum">  626</span>&nbsp;&nbsp;
<span class="linenum">  627</span>&nbsp;&nbsp;    <span class="keyword">return</span> data;
<span class="linenum">  628</span>&nbsp;&nbsp;}
<span class="linenum">  629</span>&nbsp;&nbsp;
<span class="linenum">  630</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::korosuke_special_port3_r)
<span class="linenum">  631</span>&nbsp;&nbsp;{
<span class="linenum">  632</span>&nbsp;&nbsp;    <span class="keyword">int</span> pc = space.device().safe_pcbase();
<span class="linenum">  633</span>&nbsp;&nbsp;
<span class="linenum">  634</span>&nbsp;&nbsp;    <span class="keyword">if</span> (pc == 0x0445) <span class="keyword">return</span> 0x20;
<span class="linenum">  635</span>&nbsp;&nbsp;
<span class="linenum">  636</span>&nbsp;&nbsp;    <span class="keyword">if</span> ((pc == 0x115b) || (pc == 0x3ae6)) <span class="keyword">return</span> 0x00;
<span class="linenum">  637</span>&nbsp;&nbsp;
<span class="linenum">  638</span>&nbsp;&nbsp;    <span class="keyword">switch</span> (offset)
<span class="linenum">  639</span>&nbsp;&nbsp;    {
<span class="linenum">  640</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x00:
<span class="linenum">  641</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x1f;
<span class="linenum">  642</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x09:
<span class="linenum">  643</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x30;
<span class="linenum">  644</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0c:
<span class="linenum">  645</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x00;
<span class="linenum">  646</span>&nbsp;&nbsp;        <span class="keyword">default</span>:
<span class="linenum">  647</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x20;
<span class="linenum">  648</span>&nbsp;&nbsp;    }
<span class="linenum">  649</span>&nbsp;&nbsp;}
<span class="linenum">  650</span>&nbsp;&nbsp;
<span class="linenum">  651</span>&nbsp;&nbsp;
<span class="linenum">  652</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum">  653</span>&nbsp;&nbsp; *
<span class="linenum">  654</span>&nbsp;&nbsp; *  Zola kludge
<span class="linenum">  655</span>&nbsp;&nbsp; *
<span class="linenum">  656</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum">  657</span>&nbsp;&nbsp;
<span class="linenum">  658</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mschamp_kludge_r)
<span class="linenum">  659</span>&nbsp;&nbsp;{
<span class="linenum">  660</span>&nbsp;&nbsp;    <span class="keyword">return</span> m_counter++;
<span class="linenum">  661</span>&nbsp;&nbsp;}
<span class="linenum">  662</span>&nbsp;&nbsp;
<span class="linenum">  663</span>&nbsp;&nbsp;
<span class="linenum">  664</span>&nbsp;&nbsp;<span class="comment">/************************************
<span class="linenum">  665</span>&nbsp;&nbsp; *
<span class="linenum">  666</span>&nbsp;&nbsp; *  Big Bucks questions roms handlers
<span class="linenum">  667</span>&nbsp;&nbsp; *
<span class="linenum">  668</span>&nbsp;&nbsp; ************************************/</span>
<span class="linenum">  669</span>&nbsp;&nbsp;
<span class="linenum">  670</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::bigbucks_bank_w)
<span class="linenum">  671</span>&nbsp;&nbsp;{
<span class="linenum">  672</span>&nbsp;&nbsp;    m_bigbucks_bank = data;
<span class="linenum">  673</span>&nbsp;&nbsp;}
<span class="linenum">  674</span>&nbsp;&nbsp;
<span class="linenum">  675</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::bigbucks_question_r)
<span class="linenum">  676</span>&nbsp;&nbsp;{
<span class="linenum">  677</span>&nbsp;&nbsp;    UINT8 *question = memregion(<span class="string">"user1"</span>)-&gt;base();
<span class="linenum">  678</span>&nbsp;&nbsp;    UINT8 ret;
<span class="linenum">  679</span>&nbsp;&nbsp;
<span class="linenum">  680</span>&nbsp;&nbsp;    ret = question[(m_bigbucks_bank &lt;&lt; 16) | (offset ^ 0xffff)];
<span class="linenum">  681</span>&nbsp;&nbsp;
<span class="linenum">  682</span>&nbsp;&nbsp;    <span class="keyword">return</span> ret;
<span class="linenum">  683</span>&nbsp;&nbsp;}
<span class="linenum">  684</span>&nbsp;&nbsp;
<span class="linenum">  685</span>&nbsp;&nbsp;
<span class="linenum">  686</span>&nbsp;&nbsp;<span class="comment">/************************************
<span class="linenum">  687</span>&nbsp;&nbsp; *
<span class="linenum">  688</span>&nbsp;&nbsp; *  S2650 cpu based games
<span class="linenum">  689</span>&nbsp;&nbsp; *
<span class="linenum">  690</span>&nbsp;&nbsp; ************************************/</span>
<span class="linenum">  691</span>&nbsp;&nbsp;
<span class="linenum">  692</span>&nbsp;&nbsp;INTERRUPT_GEN_MEMBER(pacman_state::s2650_interrupt)
<span class="linenum">  693</span>&nbsp;&nbsp;{
<span class="linenum">  694</span>&nbsp;&nbsp;    device.execute().set_input_line_and_vector(0, HOLD_LINE, 0x03);
<span class="linenum">  695</span>&nbsp;&nbsp;}
<span class="linenum">  696</span>&nbsp;&nbsp;
<span class="linenum">  697</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::porky_banking_w)
<span class="linenum">  698</span>&nbsp;&nbsp;{
<span class="linenum">  699</span>&nbsp;&nbsp;    membank(<span class="string">"bank1"</span>)-&gt;set_entry(data &amp; 1);
<span class="linenum">  700</span>&nbsp;&nbsp;    membank(<span class="string">"bank2"</span>)-&gt;set_entry(data &amp; 1);
<span class="linenum">  701</span>&nbsp;&nbsp;    membank(<span class="string">"bank3"</span>)-&gt;set_entry(data &amp; 1);
<span class="linenum">  702</span>&nbsp;&nbsp;    membank(<span class="string">"bank4"</span>)-&gt;set_entry(data &amp; 1);
<span class="linenum">  703</span>&nbsp;&nbsp;}
<span class="linenum">  704</span>&nbsp;&nbsp;
<span class="linenum">  705</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::drivfrcp_port1_r)
<span class="linenum">  706</span>&nbsp;&nbsp;{
<span class="linenum">  707</span>&nbsp;&nbsp;    <span class="keyword">switch</span> (space.device().safe_pc())
<span class="linenum">  708</span>&nbsp;&nbsp;    {
<span class="linenum">  709</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0030:
<span class="linenum">  710</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0291:
<span class="linenum">  711</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x01;
<span class="linenum">  712</span>&nbsp;&nbsp;    }
<span class="linenum">  713</span>&nbsp;&nbsp;
<span class="linenum">  714</span>&nbsp;&nbsp;    <span class="keyword">return</span> 0;
<span class="linenum">  715</span>&nbsp;&nbsp;}
<span class="linenum">  716</span>&nbsp;&nbsp;
<span class="linenum">  717</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::_8bpm_port1_r)
<span class="linenum">  718</span>&nbsp;&nbsp;{
<span class="linenum">  719</span>&nbsp;&nbsp;    <span class="keyword">switch</span> (space.device().safe_pc())
<span class="linenum">  720</span>&nbsp;&nbsp;    {
<span class="linenum">  721</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0030:
<span class="linenum">  722</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0466:
<span class="linenum">  723</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x01;
<span class="linenum">  724</span>&nbsp;&nbsp;    }
<span class="linenum">  725</span>&nbsp;&nbsp;
<span class="linenum">  726</span>&nbsp;&nbsp;    <span class="keyword">return</span> 0;
<span class="linenum">  727</span>&nbsp;&nbsp;}
<span class="linenum">  728</span>&nbsp;&nbsp;
<span class="linenum">  729</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::porky_port1_r)
<span class="linenum">  730</span>&nbsp;&nbsp;{
<span class="linenum">  731</span>&nbsp;&nbsp;    <span class="keyword">switch</span> (space.device().safe_pc())
<span class="linenum">  732</span>&nbsp;&nbsp;    {
<span class="linenum">  733</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0034:
<span class="linenum">  734</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x01;
<span class="linenum">  735</span>&nbsp;&nbsp;    }
<span class="linenum">  736</span>&nbsp;&nbsp;
<span class="linenum">  737</span>&nbsp;&nbsp;    <span class="keyword">return</span> 0;
<span class="linenum">  738</span>&nbsp;&nbsp;}
<span class="linenum">  739</span>&nbsp;&nbsp;
<span class="linenum">  740</span>&nbsp;&nbsp;
<span class="linenum">  741</span>&nbsp;&nbsp;<span class="comment">/************************************
<span class="linenum">  742</span>&nbsp;&nbsp; *
<span class="linenum">  743</span>&nbsp;&nbsp; *  Rock-N-Roll Trivia (Part 2)
<span class="linenum">  744</span>&nbsp;&nbsp; *  questions roms and protection
<span class="linenum">  745</span>&nbsp;&nbsp; *  handlers
<span class="linenum">  746</span>&nbsp;&nbsp; *
<span class="linenum">  747</span>&nbsp;&nbsp; ************************************/</span>
<span class="linenum">  748</span>&nbsp;&nbsp;
<span class="linenum">  749</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::rocktrv2_prot1_data_r)
<span class="linenum">  750</span>&nbsp;&nbsp;{
<span class="linenum">  751</span>&nbsp;&nbsp;    <span class="keyword">return</span> m_rocktrv2_prot_data[0] &gt;&gt; 4;
<span class="linenum">  752</span>&nbsp;&nbsp;}
<span class="linenum">  753</span>&nbsp;&nbsp;
<span class="linenum">  754</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::rocktrv2_prot2_data_r)
<span class="linenum">  755</span>&nbsp;&nbsp;{
<span class="linenum">  756</span>&nbsp;&nbsp;    <span class="keyword">return</span> m_rocktrv2_prot_data[1] &gt;&gt; 4;
<span class="linenum">  757</span>&nbsp;&nbsp;}
<span class="linenum">  758</span>&nbsp;&nbsp;
<span class="linenum">  759</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::rocktrv2_prot3_data_r)
<span class="linenum">  760</span>&nbsp;&nbsp;{
<span class="linenum">  761</span>&nbsp;&nbsp;    <span class="keyword">return</span> m_rocktrv2_prot_data[2] &gt;&gt; 4;
<span class="linenum">  762</span>&nbsp;&nbsp;}
<span class="linenum">  763</span>&nbsp;&nbsp;
<span class="linenum">  764</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::rocktrv2_prot4_data_r)
<span class="linenum">  765</span>&nbsp;&nbsp;{
<span class="linenum">  766</span>&nbsp;&nbsp;    <span class="keyword">return</span> m_rocktrv2_prot_data[3] &gt;&gt; 4;
<span class="linenum">  767</span>&nbsp;&nbsp;}
<span class="linenum">  768</span>&nbsp;&nbsp;
<span class="linenum">  769</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::rocktrv2_prot_data_w)
<span class="linenum">  770</span>&nbsp;&nbsp;{
<span class="linenum">  771</span>&nbsp;&nbsp;    m_rocktrv2_prot_data[offset] = data;
<span class="linenum">  772</span>&nbsp;&nbsp;}
<span class="linenum">  773</span>&nbsp;&nbsp;
<span class="linenum">  774</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::rocktrv2_question_bank_w)
<span class="linenum">  775</span>&nbsp;&nbsp;{
<span class="linenum">  776</span>&nbsp;&nbsp;    m_rocktrv2_question_bank = data;
<span class="linenum">  777</span>&nbsp;&nbsp;}
<span class="linenum">  778</span>&nbsp;&nbsp;
<span class="linenum">  779</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::rocktrv2_question_r)
<span class="linenum">  780</span>&nbsp;&nbsp;{
<span class="linenum">  781</span>&nbsp;&nbsp;    UINT8 *question = memregion(<span class="string">"user1"</span>)-&gt;base();
<span class="linenum">  782</span>&nbsp;&nbsp;
<span class="linenum">  783</span>&nbsp;&nbsp;    <span class="keyword">return</span> question[offset | (m_rocktrv2_question_bank * 0x8000)];
<span class="linenum">  784</span>&nbsp;&nbsp;}
<span class="linenum">  785</span>&nbsp;&nbsp;
<span class="linenum">  786</span>&nbsp;&nbsp;
<span class="linenum">  787</span>&nbsp;&nbsp;<span class="comment">/************************************
<span class="linenum">  788</span>&nbsp;&nbsp; *
<span class="linenum">  789</span>&nbsp;&nbsp; *  Super ABC
<span class="linenum">  790</span>&nbsp;&nbsp; *
<span class="linenum">  791</span>&nbsp;&nbsp; ************************************/</span>
<span class="linenum">  792</span>&nbsp;&nbsp;
<span class="linenum">  793</span>&nbsp;&nbsp;<span class="comment">/*
<span class="linenum">  794</span>&nbsp;&nbsp;  This is a kit that upgrades an original Midway Pacman PCB to allow it to run many Pacman games.
<span class="linenum">  795</span>&nbsp;&nbsp;  It includes two small PCBs and two PROMs. The large PCB plugs into the CPU socket at 6B and the
<span class="linenum">  796</span>&nbsp;&nbsp;  Sync Bus Controller socket at 6D. The CPU that was in the socket at 6B plugs into the Super ABC PCB.
<span class="linenum">  797</span>&nbsp;&nbsp;
<span class="linenum">  798</span>&nbsp;&nbsp;  The large PCB contains the following parts.....
<span class="linenum">  799</span>&nbsp;&nbsp;  - Z80 CPU
<span class="linenum">  800</span>&nbsp;&nbsp;  - 27C040 EPROM at U14
<span class="linenum">  801</span>&nbsp;&nbsp;  - 82S123 PROM at U18
<span class="linenum">  802</span>&nbsp;&nbsp;  - 28C16 2KB EEPROM at U17
<span class="linenum">  803</span>&nbsp;&nbsp;  - several logic chips
<span class="linenum">  804</span>&nbsp;&nbsp;
<span class="linenum">  805</span>&nbsp;&nbsp;  The small PCB contains just one 27C010 EPROM for the characters. There's a small cable that joins
<span class="linenum">  806</span>&nbsp;&nbsp;  this PCB to the other large PCB.
<span class="linenum">  807</span>&nbsp;&nbsp;
<span class="linenum">  808</span>&nbsp;&nbsp;  The two PROMs on the main board at 7F and 4A are also replaced with PROMs from the kit
<span class="linenum">  809</span>&nbsp;&nbsp;*/</span>
<span class="linenum">  810</span>&nbsp;&nbsp;
<span class="linenum">  811</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::superabc_bank_w)
<span class="linenum">  812</span>&nbsp;&nbsp;{
<span class="linenum">  813</span>&nbsp;&nbsp;    <span class="comment">// d4-d6: bank</span>
<span class="linenum">  814</span>&nbsp;&nbsp;    <span class="keyword">int</span> bank = data &gt;&gt; 4 &amp; 7;
<span class="linenum">  815</span>&nbsp;&nbsp;    membank(<span class="string">"bank1"</span>)-&gt;set_base(memregion(<span class="string">"maincpu"</span>)-&gt;base() + bank * 0x10000 + 0x0000);
<span class="linenum">  816</span>&nbsp;&nbsp;    membank(<span class="string">"bank2"</span>)-&gt;set_base(memregion(<span class="string">"maincpu"</span>)-&gt;base() + bank * 0x10000 + 0x4000);
<span class="linenum">  817</span>&nbsp;&nbsp;    membank(<span class="string">"bank3"</span>)-&gt;set_base(memregion(<span class="string">"maincpu"</span>)-&gt;base() + bank * 0x10000 + 0xa000); <span class="comment">// looks like a15 is not connected and a16-onwards is shifted 1 bit</span>
<span class="linenum">  818</span>&nbsp;&nbsp;
<span class="linenum">  819</span>&nbsp;&nbsp;    <span class="keyword">if</span> (bank != m_charbank)
<span class="linenum">  820</span>&nbsp;&nbsp;    {
<span class="linenum">  821</span>&nbsp;&nbsp;        m_spritebank = bank;
<span class="linenum">  822</span>&nbsp;&nbsp;        m_charbank = bank;
<span class="linenum">  823</span>&nbsp;&nbsp;        m_bg_tilemap-&gt;mark_all_dirty();
<span class="linenum">  824</span>&nbsp;&nbsp;    }
<span class="linenum">  825</span>&nbsp;&nbsp;}
<span class="linenum">  826</span>&nbsp;&nbsp;
<span class="linenum">  827</span>&nbsp;&nbsp;
<span class="linenum">  828</span>&nbsp;&nbsp;<span class="comment">/************************************
<span class="linenum">  829</span>&nbsp;&nbsp; *
<span class="linenum">  830</span>&nbsp;&nbsp; *  Ms. Pac-Man
<span class="linenum">  831</span>&nbsp;&nbsp; *
<span class="linenum">  832</span>&nbsp;&nbsp; ************************************/</span>
<span class="linenum">  833</span>&nbsp;&nbsp;
<span class="linenum">  834</span>&nbsp;&nbsp;<span class="comment">/*
<span class="linenum">  835</span>&nbsp;&nbsp;  Ms. Pac-Man has an auxiliary PCB with ribbon cable that plugs into the Z-80 CPU socket of a Pac-Man main PCB. Also the
<span class="linenum">  836</span>&nbsp;&nbsp;  graphics ROMs at 5E, 5F on the main board are replaced.
<span class="linenum">  837</span>&nbsp;&nbsp;
<span class="linenum">  838</span>&nbsp;&nbsp;  The aux board contains three ROMs (two 2532 at U6, U7 and one 2716 at U5), a Z-80, and four PAL/HAL logic chips.
<span class="linenum">  839</span>&nbsp;&nbsp;
<span class="linenum">  840</span>&nbsp;&nbsp;  The aux board logic decodes the Z-80 address and determines whether to enable the main board ROMs (containing Pac-Man
<span class="linenum">  841</span>&nbsp;&nbsp;  code) or the aux board ROMs (containing Ms. Pac-Man code). Normally the Pac-Man ROMs reside at address 0x0000-0x3fff
<span class="linenum">  842</span>&nbsp;&nbsp;  and are mirrored at 0x8000-0xbfff (Z-80 A15 is not used in Pac-Man). The aux board logic modifies the address map and
<span class="linenum">  843</span>&nbsp;&nbsp;  enables the aux board ROMs for addresses 0x3000-0x3fff and 0x8000-0x97ff. Furthermore there are forty 8-byte "patch"
<span class="linenum">  844</span>&nbsp;&nbsp;  regions which reside in the 0x0000-0x2fff address range. Any access to these patch addresses will disable the Pac-Man
<span class="linenum">  845</span>&nbsp;&nbsp;  ROMs and enable the aux board ROM. Aux board ROM addresses 0x8000-0x81ef are mapped onto the patch regions. These
<span class="linenum">  846</span>&nbsp;&nbsp;  patches typically insert jumps to new code above 0x8000.
<span class="linenum">  847</span>&nbsp;&nbsp;
<span class="linenum">  848</span>&nbsp;&nbsp;  The aux board logic also acts as a software protection circuit which inhibits dumping of the ROMs (e.g., using a
<span class="linenum">  849</span>&nbsp;&nbsp;  microprocessor emulator system). There are several "trap" address regions which enable and disable the decode
<span class="linenum">  850</span>&nbsp;&nbsp;  functions. In order to properly operate as Ms. Pac-Man you must access one of the "latch set" trap addresses. This
<span class="linenum">  851</span>&nbsp;&nbsp;  enables the decode. If a "latch clear" address is accessed then decode is disabled and all you get is Pac-Man. For
<span class="linenum">  852</span>&nbsp;&nbsp;  more info see U.S. Patent 4,525,599 "Software protection methods and apparatus".
<span class="linenum">  853</span>&nbsp;&nbsp;
<span class="linenum">  854</span>&nbsp;&nbsp;  The trap regions are 8 bytes in length starting on the following addresses:
<span class="linenum">  855</span>&nbsp;&nbsp;
<span class="linenum">  856</span>&nbsp;&nbsp;  latch clear, decode disable
<span class="linenum">  857</span>&nbsp;&nbsp;    0x0038
<span class="linenum">  858</span>&nbsp;&nbsp;    0x03b0
<span class="linenum">  859</span>&nbsp;&nbsp;    0x1600
<span class="linenum">  860</span>&nbsp;&nbsp;    0x2120
<span class="linenum">  861</span>&nbsp;&nbsp;    0x3ff0
<span class="linenum">  862</span>&nbsp;&nbsp;    0x8000
<span class="linenum">  863</span>&nbsp;&nbsp;    0x97f0
<span class="linenum">  864</span>&nbsp;&nbsp;
<span class="linenum">  865</span>&nbsp;&nbsp;  latch set, decode enable
<span class="linenum">  866</span>&nbsp;&nbsp;    0x3ff8
<span class="linenum">  867</span>&nbsp;&nbsp;
<span class="linenum">  868</span>&nbsp;&nbsp;  Any memory access will trigger the trap behavior: instruction fetch, data read, data write. The latch clear addresses
<span class="linenum">  869</span>&nbsp;&nbsp;  should never be accessed during normal Ms. Pac-Man operation, so when the circuitry detects an access it clears the
<span class="linenum">  870</span>&nbsp;&nbsp;  latch and prevents any further dumping of the aux board ROMs.
<span class="linenum">  871</span>&nbsp;&nbsp;
<span class="linenum">  872</span>&nbsp;&nbsp;  The Pac-Man self-test code does a checksum of the ROM 0x0000-0x2fff. This works because the checksum routine walks the
<span class="linenum">  873</span>&nbsp;&nbsp;  ROM starting from the low address and hits the latch clear trap at 0x0038 prior to encountering any of the patch
<span class="linenum">  874</span>&nbsp;&nbsp;  regions. The decode stays disabled for the rest of the checksum routine, and thus the checksum is calculated for the
<span class="linenum">  875</span>&nbsp;&nbsp;  Pac-Man ROMs with no patches applied.
<span class="linenum">  876</span>&nbsp;&nbsp;
<span class="linenum">  877</span>&nbsp;&nbsp;  During normal operation every VBLANK (60.6Hz) interrupt will fetch its interrupt vector from the 0x3ff8 trap region, so
<span class="linenum">  878</span>&nbsp;&nbsp;  the latch is continually being enabled.
<span class="linenum">  879</span>&nbsp;&nbsp;
<span class="linenum">  880</span>&nbsp;&nbsp;  David Widel points out that the Pac-Man pseudo-random number generator (RNG) routine at 0x2a23 might also access a
<span class="linenum">  881</span>&nbsp;&nbsp;  trap region. This RNG is only used when the monsters are blue (after a power pellet has been eaten) and is used to
<span class="linenum">  882</span>&nbsp;&nbsp;  select a "random" direction for the monsters to run away. The routine calculates a pointer address between
<span class="linenum">  883</span>&nbsp;&nbsp;  0x0000-0x1fff and fetches the ROM value from that address. This value is the "random" number returned by the
<span class="linenum">  884</span>&nbsp;&nbsp;  routine. During the blue mode only Pac-Man code is being executed, so a trap hit that clears the decode latch will
<span class="linenum">  885</span>&nbsp;&nbsp;  have no effect on gameplay. Every VBLANK interrupt vector fetch re-enables the latch and you are back in Ms. Pac-Man
<span class="linenum">  886</span>&nbsp;&nbsp;  mode.
<span class="linenum">  887</span>&nbsp;&nbsp;
<span class="linenum">  888</span>&nbsp;&nbsp;  In a further attempt to thwart copying, the aux board ROMs have a simple encryption scheme: their address and data
<span class="linenum">  889</span>&nbsp;&nbsp;  lines are bit flipped (i.e., wired in a nonstandard fashion). The specific bit flips were selected to minimize the
<span class="linenum">  890</span>&nbsp;&nbsp;  vias required to lay out the aux PCB.
<span class="linenum">  891</span>&nbsp;&nbsp;
<span class="linenum">  892</span>&nbsp;&nbsp;
<span class="linenum">  893</span>&nbsp;&nbsp;  History  (Originally contributed by Steve Golson of GCC, one of the original Developers of Ms. Pac-Man, with some
<span class="linenum">  894</span>&nbsp;&nbsp;  -------   minor modifications to address availability of data.)
<span class="linenum">  895</span>&nbsp;&nbsp;
<span class="linenum">  896</span>&nbsp;&nbsp;  During the summer of 1981, General Computer Corp. of Massachusetts developed a game called Crazy Otto. This game was
<span class="linenum">  897</span>&nbsp;&nbsp;  intended to be sold as an enhancement kit for Pac-Man cabinets. The main character Crazy Otto had legs and blue
<span class="linenum">  898</span>&nbsp;&nbsp;  eyes. Also the monsters have blue feet and antennae that bob up and down. New game play, mazes, music, and sounds were
<span class="linenum">  899</span>&nbsp;&nbsp;  developed. Several new bonus characters (fruit) were added. Otto and his female counterpart appeared in three new
<span class="linenum">  900</span>&nbsp;&nbsp;  animations, culminating in the arrival of JUNIOR, a baby Crazy Otto.
<span class="linenum">  901</span>&nbsp;&nbsp;
<span class="linenum">  902</span>&nbsp;&nbsp;  In October 1981 this game was licensed to Midway, who owned the North American rights to produce Pac-Man. With Midway
<span class="linenum">  903</span>&nbsp;&nbsp;  producing the game, the original Pac-Man character and name could be used. At first the game was called Super Pac-Man,
<span class="linenum">  904</span>&nbsp;&nbsp;  but eventually the decision was made to use the female character as the protagonist, resulting in Ms. Pac-Man.
<span class="linenum">  905</span>&nbsp;&nbsp;
<span class="linenum">  906</span>&nbsp;&nbsp;  The only differences between Crazy Otto and the final production Ms. Pac-Man are the characters themselves and related
<span class="linenum">  907</span>&nbsp;&nbsp;  text strings. Game play, mazes, colors, fruits, sounds, music, animations are unchanged from original GCC Crazy Otto.
<span class="linenum">  908</span>&nbsp;&nbsp;  Also the "marquee" attract mode was added to include the Midway logo and copyright string.
<span class="linenum">  909</span>&nbsp;&nbsp;
<span class="linenum">  910</span>&nbsp;&nbsp;  The ROMs from several prototype versions of Crazy Otto have been recovered, documented and archived since that time but
<span class="linenum">  911</span>&nbsp;&nbsp;  as of now are not available outside of the occasional public viewing and playing of a modified upright Ms. Pac-Man machine
<span class="linenum">  912</span>&nbsp;&nbsp;  at a gaming convention, exposition or specific special industry events.
<span class="linenum">  913</span>&nbsp;&nbsp;
<span class="linenum">  914</span>&nbsp;&nbsp;  Information shared regarding the known prototypes indicates they are dated from 10/12/81, 10/20/81 and 10/29/81.  Also
<span class="linenum">  915</span>&nbsp;&nbsp;  two prototype versions of Super Pac-Man, one with old Pac-Man monsters and one with new Crazy Otto monsters are both
<span class="linenum">  916</span>&nbsp;&nbsp;  dated 10/29/81.
<span class="linenum">  917</span>&nbsp;&nbsp;
<span class="linenum">  918</span>&nbsp;&nbsp;  Early prototypes - those dated 10/12/81 and 10/20/81 - do not use the Ms. Pac-Man code patch scheme outlined above.
<span class="linenum">  919</span>&nbsp;&nbsp;  Instead, all four Pac-Man ROMs are replaced, and one or two additional ROMs are provided at addresses above 0x8000.
<span class="linenum">  920</span>&nbsp;&nbsp;
<span class="linenum">  921</span>&nbsp;&nbsp;  Later prototypes - those dated 10/29/81 - use the patch hardware, however the latch set/clear function is not implemented.
<span class="linenum">  922</span>&nbsp;&nbsp;  Furthermore the ROM encryption bit flip is not used.
<span class="linenum">  923</span>&nbsp;&nbsp;*/</span>
<span class="linenum">  924</span>&nbsp;&nbsp;
<span class="linenum">  925</span>&nbsp;&nbsp;<span class="preproc">#define</span> mspacman_enable_decode_latch(m)  m.root_device().membank(<span class="string">"bank1"</span>)-&gt;set_entry(1)
<span class="linenum">  926</span>&nbsp;&nbsp;<span class="preproc">#define</span> mspacman_disable_decode_latch(m) m.root_device().membank(<span class="string">"bank1"</span>)-&gt;set_entry(0)
<span class="linenum">  927</span>&nbsp;&nbsp;
<span class="linenum">  928</span>&nbsp;&nbsp;<span class="comment">// any access to these ROM addresses disables the decoder, and all you see is the original Pac-Man code</span>
<span class="linenum">  929</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacman_disable_decode_r_0x0038){ mspacman_disable_decode_latch(machine()); <span class="keyword">return</span> memregion(<span class="string">"maincpu"</span>)-&gt;base()[offset+0x0038]; }
<span class="linenum">  930</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacman_disable_decode_r_0x03b0){ mspacman_disable_decode_latch(machine()); <span class="keyword">return</span> memregion(<span class="string">"maincpu"</span>)-&gt;base()[offset+0x03b0]; }
<span class="linenum">  931</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacman_disable_decode_r_0x1600){ mspacman_disable_decode_latch(machine()); <span class="keyword">return</span> memregion(<span class="string">"maincpu"</span>)-&gt;base()[offset+0x1600]; }
<span class="linenum">  932</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacman_disable_decode_r_0x2120){ mspacman_disable_decode_latch(machine()); <span class="keyword">return</span> memregion(<span class="string">"maincpu"</span>)-&gt;base()[offset+0x2120]; }
<span class="linenum">  933</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacman_disable_decode_r_0x3ff0){ mspacman_disable_decode_latch(machine()); <span class="keyword">return</span> memregion(<span class="string">"maincpu"</span>)-&gt;base()[offset+0x3ff0]; }
<span class="linenum">  934</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacman_disable_decode_r_0x8000){ mspacman_disable_decode_latch(machine()); <span class="keyword">return</span> memregion(<span class="string">"maincpu"</span>)-&gt;base()[offset+0x8000]; }
<span class="linenum">  935</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacman_disable_decode_r_0x97f0){ mspacman_disable_decode_latch(machine()); <span class="keyword">return</span> memregion(<span class="string">"maincpu"</span>)-&gt;base()[offset+0x97f0]; }
<span class="linenum">  936</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::mspacman_disable_decode_w){ mspacman_disable_decode_latch(machine()); }
<span class="linenum">  937</span>&nbsp;&nbsp;
<span class="linenum">  938</span>&nbsp;&nbsp;<span class="comment">// any access to these ROM addresses enables the decoder, and you'll see the Ms. Pac-Man code</span>
<span class="linenum">  939</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacman_enable_decode_r_0x3ff8){ mspacman_enable_decode_latch(machine()); <span class="keyword">return</span> memregion(<span class="string">"maincpu"</span>)-&gt;base()[offset+0x3ff8+0x10000]; }
<span class="linenum">  940</span>&nbsp;&nbsp;WRITE8_MEMBER(pacman_state::mspacman_enable_decode_w){ mspacman_enable_decode_latch(machine()); }
<span class="linenum">  941</span>&nbsp;&nbsp;
<span class="linenum">  942</span>&nbsp;&nbsp;
<span class="linenum">  943</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::pacman_read_nop)
<span class="linenum">  944</span>&nbsp;&nbsp;{
<span class="linenum">  945</span>&nbsp;&nbsp;    <span class="comment">// Return value of reading the bus with no devices enabled.</span>
<span class="linenum">  946</span>&nbsp;&nbsp;    <span class="comment">// This seems to be common but more tests are needed. Ms Pacman reads bytes in sequence</span>
<span class="linenum">  947</span>&nbsp;&nbsp;    <span class="comment">// until it hits a 0 for a delimiter, including empty areas.  It writes to "random"</span>
<span class="linenum">  948</span>&nbsp;&nbsp;    <span class="comment">// addresses each time. This causes the maze to invert sometimes.  See code at $95c3 where</span>
<span class="linenum">  949</span>&nbsp;&nbsp;    <span class="comment">// level($4e13)=134. DW</span>
<span class="linenum">  950</span>&nbsp;&nbsp;    <span class="comment">// tests on exactly what determines the value returned have thus far proved inconclusive</span>
<span class="linenum">  951</span>&nbsp;&nbsp;    <span class="keyword">return</span> 0xbf;
<span class="linenum">  952</span>&nbsp;&nbsp;}
<span class="linenum">  953</span>&nbsp;&nbsp;
<span class="linenum">  954</span>&nbsp;&nbsp;
<span class="linenum">  955</span>&nbsp;&nbsp;
<span class="linenum">  956</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum">  957</span>&nbsp;&nbsp; *
<span class="linenum">  958</span>&nbsp;&nbsp; *  Main CPU memory handlers
<span class="linenum">  959</span>&nbsp;&nbsp; *
<span class="linenum">  960</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum">  961</span>&nbsp;&nbsp;
<span class="linenum">  962</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( pacman_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum">  963</span>&nbsp;&nbsp;    <span class="comment">//A lot of games don't have an a15 at the cpu.  Generally only games with a cpu daughter board can access the full 32k of romspace.</span>
<span class="linenum">  964</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x8000) AM_ROM
<span class="linenum">  965</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum">  966</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum">  967</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4bff) AM_MIRROR(0xa000) AM_READ(pacman_read_nop) AM_WRITENOP
<span class="linenum">  968</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum">  969</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum">  970</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum">  971</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum">  972</span>&nbsp;&nbsp;    AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf38) AM_WRITENOP
<span class="linenum">  973</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum">  974</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_leds_w)</span>
<span class="linenum">  975</span>&nbsp;&nbsp;    AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_coin_lockout_global_w)</span>
<span class="linenum">  976</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum">  977</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum">  978</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum">  979</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum">  980</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum">  981</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum">  982</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum">  983</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum">  984</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum">  985</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum">  986</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum">  987</span>&nbsp;&nbsp;<span class="comment">// The Pacman code uses $5004 and $5005 for LED's and $5007 for coin lockout.  This hardware does not</span>
<span class="linenum">  988</span>&nbsp;&nbsp;<span class="comment">// exist on any Pacman or Puckman board I have seen.  DW</span>
<span class="linenum">  989</span>&nbsp;&nbsp;
<span class="linenum">  990</span>&nbsp;&nbsp;
<span class="linenum">  991</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( birdiy_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum">  992</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x8000) AM_ROM
<span class="linenum">  993</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum">  994</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum">  995</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x4800, 0x4bff) AM_MIRROR(0xa000) AM_READ(pacman_read_nop) AM_WRITENOP</span>
<span class="linenum">  996</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum">  997</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum">  998</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum">  999</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY("namco", pacman_sound_enable_w)</span>
<span class="linenum"> 1000</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf38) AM_WRITENOP</span>
<span class="linenum"> 1001</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1002</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITENOP // AM_WRITE(pacman_leds_w)</span>
<span class="linenum"> 1003</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITENOP // AM_WRITE(pacman_coin_lockout_global_w)</span>
<span class="linenum"> 1004</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1005</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x509f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum"> 1006</span>&nbsp;&nbsp;    AM_RANGE(0x50a0, 0x50af) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1007</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP</span>
<span class="linenum"> 1008</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP</span>
<span class="linenum"> 1009</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1010</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1011</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1012</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1013</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1014</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1015</span>&nbsp;&nbsp;
<span class="linenum"> 1016</span>&nbsp;&nbsp;
<span class="linenum"> 1017</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( mspacman_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1018</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1019</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1020</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4bff) AM_MIRROR(0xa000) AM_READ(pacman_read_nop) AM_WRITENOP
<span class="linenum"> 1021</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum"> 1022</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1023</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum"> 1024</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1025</span>&nbsp;&nbsp;    AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf38) AM_WRITENOP
<span class="linenum"> 1026</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1027</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_leds_w)</span>
<span class="linenum"> 1028</span>&nbsp;&nbsp;    AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_lockout_global_w)
<span class="linenum"> 1029</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1030</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum"> 1031</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1032</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1033</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum"> 1034</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1035</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1036</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1037</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1038</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1039</span>&nbsp;&nbsp;
<span class="linenum"> 1040</span>&nbsp;&nbsp;    <span class="comment">/* overlay decode enable/disable on top */</span>
<span class="linenum"> 1041</span>&nbsp;&nbsp;    AM_RANGE(0x0038, 0x003f) AM_READWRITE(mspacman_disable_decode_r_0x0038,mspacman_disable_decode_w)
<span class="linenum"> 1042</span>&nbsp;&nbsp;    AM_RANGE(0x03b0, 0x03b7) AM_READWRITE(mspacman_disable_decode_r_0x03b0,mspacman_disable_decode_w)
<span class="linenum"> 1043</span>&nbsp;&nbsp;    AM_RANGE(0x1600, 0x1607) AM_READWRITE(mspacman_disable_decode_r_0x1600,mspacman_disable_decode_w)
<span class="linenum"> 1044</span>&nbsp;&nbsp;    AM_RANGE(0x2120, 0x2127) AM_READWRITE(mspacman_disable_decode_r_0x2120,mspacman_disable_decode_w)
<span class="linenum"> 1045</span>&nbsp;&nbsp;    AM_RANGE(0x3ff0, 0x3ff7) AM_READWRITE(mspacman_disable_decode_r_0x3ff0,mspacman_disable_decode_w)
<span class="linenum"> 1046</span>&nbsp;&nbsp;    AM_RANGE(0x3ff8, 0x3fff) AM_READWRITE(mspacman_enable_decode_r_0x3ff8,mspacman_enable_decode_w)
<span class="linenum"> 1047</span>&nbsp;&nbsp;    AM_RANGE(0x8000, 0x8007) AM_READWRITE(mspacman_disable_decode_r_0x8000,mspacman_disable_decode_w)
<span class="linenum"> 1048</span>&nbsp;&nbsp;    AM_RANGE(0x97f0, 0x97f7) AM_READWRITE(mspacman_disable_decode_r_0x97f0,mspacman_disable_decode_w)
<span class="linenum"> 1049</span>&nbsp;&nbsp;
<span class="linenum"> 1050</span>&nbsp;&nbsp;    <span class="comment">/* start with 0000-3fff and 8000-bfff mapped to the ROMs */</span>
<span class="linenum"> 1051</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x7fff) AM_MIRROR(0x8000) AM_UNMAP
<span class="linenum"> 1052</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0xffff) AM_ROMBANK(<span class="string">"bank1"</span>)
<span class="linenum"> 1053</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1054</span>&nbsp;&nbsp;
<span class="linenum"> 1055</span>&nbsp;&nbsp;
<span class="linenum"> 1056</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( woodpek_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1057</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_ROM
<span class="linenum"> 1058</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1059</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1060</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4bff) AM_MIRROR(0xa000) AM_READ(pacman_read_nop) AM_WRITENOP
<span class="linenum"> 1061</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum"> 1062</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1063</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum"> 1064</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1065</span>&nbsp;&nbsp;    AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf38) AM_WRITENOP
<span class="linenum"> 1066</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1067</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_leds_w)</span>
<span class="linenum"> 1068</span>&nbsp;&nbsp;    AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_coin_lockout_global_w)</span>
<span class="linenum"> 1069</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1070</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum"> 1071</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1072</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1073</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum"> 1074</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1075</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1076</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1077</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1078</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1079</span>&nbsp;&nbsp;    AM_RANGE(0x8000, 0xbfff) AM_ROM
<span class="linenum"> 1080</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1081</span>&nbsp;&nbsp;
<span class="linenum"> 1082</span>&nbsp;&nbsp;
<span class="linenum"> 1083</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( alibaba_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1084</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_ROM
<span class="linenum"> 1085</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1086</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1087</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4bff) AM_MIRROR(0xa000) AM_READ(pacman_read_nop) AM_WRITENOP
<span class="linenum"> 1088</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4eef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum"> 1089</span>&nbsp;&nbsp;    AM_RANGE(0x4ef0, 0x4eff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1090</span>&nbsp;&nbsp;    AM_RANGE(0x4f00, 0x4fff) AM_MIRROR(0xa000) AM_RAM
<span class="linenum"> 1091</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1092</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITE(pacman_leds_w)
<span class="linenum"> 1093</span>&nbsp;&nbsp;    AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_lockout_global_w)
<span class="linenum"> 1094</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1095</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x506f) AM_MIRROR(0xaf00) AM_WRITE(alibaba_sound_w)  <span class="comment">/* the sound region is not contiguous */</span>
<span class="linenum"> 1096</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>) <span class="comment">/* actually at 5050-505f, here to point to free RAM */</span>
<span class="linenum"> 1097</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1098</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum"> 1099</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1100</span>&nbsp;&nbsp;    AM_RANGE(0x50c1, 0x50c1) AM_MIRROR(0xaf00) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1101</span>&nbsp;&nbsp;    AM_RANGE(0x50c2, 0x50c2) AM_MIRROR(0xaf00) AM_WRITE(irq_mask_w)
<span class="linenum"> 1102</span>&nbsp;&nbsp;    AM_RANGE(0x50c3, 0x50ff) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1103</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1104</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1105</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1106</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf00) AM_READ(alibaba_mystery_1_r)
<span class="linenum"> 1107</span>&nbsp;&nbsp;    AM_RANGE(0x50c1, 0x50c1) AM_MIRROR(0xaf00) AM_READ(alibaba_mystery_2_r)
<span class="linenum"> 1108</span>&nbsp;&nbsp;    AM_RANGE(0x50c2, 0x50ff) AM_MIRROR(0xaf00) AM_READ(pacman_read_nop)
<span class="linenum"> 1109</span>&nbsp;&nbsp;    AM_RANGE(0x8000, 0x8fff) AM_ROM
<span class="linenum"> 1110</span>&nbsp;&nbsp;    AM_RANGE(0x9000, 0x93ff) AM_MIRROR(0x0c00) AM_RAM
<span class="linenum"> 1111</span>&nbsp;&nbsp;    AM_RANGE(0xa000, 0xa7ff) AM_MIRROR(0x1800) AM_ROM
<span class="linenum"> 1112</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1113</span>&nbsp;&nbsp;
<span class="linenum"> 1114</span>&nbsp;&nbsp;
<span class="linenum"> 1115</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( dremshpr_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1116</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_ROM
<span class="linenum"> 1117</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1118</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1119</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4fef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum"> 1120</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1121</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum"> 1122</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY("namco", pacman_sound_enable_w)</span>
<span class="linenum"> 1123</span>&nbsp;&nbsp;    AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">/* unknown */</span>
<span class="linenum"> 1124</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1125</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_leds_w)</span>
<span class="linenum"> 1126</span>&nbsp;&nbsp;    AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_coin_lockout_global_w)</span>
<span class="linenum"> 1127</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1128</span>&nbsp;&nbsp;<span class="comment">//  AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY("namco", pacman_sound_w)</span>
<span class="linenum"> 1129</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1130</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1131</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum"> 1132</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1133</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1134</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1135</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1136</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1137</span>&nbsp;&nbsp;    AM_RANGE(0x8000, 0xbfff) AM_ROM
<span class="linenum"> 1138</span>&nbsp;&nbsp;
<span class="linenum"> 1139</span>&nbsp;&nbsp;    <span class="comment">/* vanvan: probably a leftover from development: the Sanritsu version writes
<span class="linenum"> 1140</span>&nbsp;&nbsp;       the color lookup table here, while the Karateko version writes garbage. */</span>
<span class="linenum"> 1141</span>&nbsp;&nbsp;    AM_RANGE(0xb800, 0xb87f) AM_WRITENOP
<span class="linenum"> 1142</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1143</span>&nbsp;&nbsp;
<span class="linenum"> 1144</span>&nbsp;&nbsp;
<span class="linenum"> 1145</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( epos_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1146</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x8000) AM_ROMBANK(<span class="string">"bank1"</span>)
<span class="linenum"> 1147</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1148</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1149</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4bff) AM_MIRROR(0xa000) AM_READ(pacman_read_nop) AM_WRITENOP
<span class="linenum"> 1150</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum"> 1151</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1152</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum"> 1153</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1154</span>&nbsp;&nbsp;    AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf38) AM_WRITENOP
<span class="linenum"> 1155</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1156</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_leds_w)</span>
<span class="linenum"> 1157</span>&nbsp;&nbsp;    AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_coin_lockout_global_w)</span>
<span class="linenum"> 1158</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1159</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum"> 1160</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1161</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1162</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum"> 1163</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1164</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1165</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1166</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1167</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1168</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1169</span>&nbsp;&nbsp;
<span class="linenum"> 1170</span>&nbsp;&nbsp;
<span class="linenum"> 1171</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( s2650games_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1172</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x0fff) AM_MIRROR(0x8000) AM_ROMBANK(<span class="string">"bank1"</span>)
<span class="linenum"> 1173</span>&nbsp;&nbsp;    AM_RANGE(0x1000, 0x13ff) AM_MIRROR(0xe000) AM_WRITE(s2650games_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1174</span>&nbsp;&nbsp;    AM_RANGE(0x1400, 0x141f) AM_MIRROR(0xe000) AM_WRITE(s2650games_scroll_w)
<span class="linenum"> 1175</span>&nbsp;&nbsp;    AM_RANGE(0x1420, 0x148f) AM_MIRROR(0xe000) AM_WRITEONLY
<span class="linenum"> 1176</span>&nbsp;&nbsp;    AM_RANGE(0x1490, 0x149f) AM_MIRROR(0xe000) AM_WRITEONLY AM_SHARE(<span class="string">"s2650_spriteram"</span>)
<span class="linenum"> 1177</span>&nbsp;&nbsp;    AM_RANGE(0x14a0, 0x14bf) AM_MIRROR(0xe000) AM_WRITE(s2650games_tilesbank_w) AM_SHARE(<span class="string">"s2650_tileram"</span>)
<span class="linenum"> 1178</span>&nbsp;&nbsp;    AM_RANGE(0x14c0, 0x14ff) AM_MIRROR(0xe000) AM_WRITEONLY
<span class="linenum"> 1179</span>&nbsp;&nbsp;    AM_RANGE(0x1500, 0x1502) AM_MIRROR(0xe000) AM_WRITENOP
<span class="linenum"> 1180</span>&nbsp;&nbsp;    AM_RANGE(0x1503, 0x1503) AM_MIRROR(0xe000) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1181</span>&nbsp;&nbsp;    AM_RANGE(0x1504, 0x1506) AM_MIRROR(0xe000) AM_WRITENOP
<span class="linenum"> 1182</span>&nbsp;&nbsp;    AM_RANGE(0x1507, 0x1507) AM_MIRROR(0xe000) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1183</span>&nbsp;&nbsp;    AM_RANGE(0x1508, 0x155f) AM_MIRROR(0xe000) AM_WRITEONLY
<span class="linenum"> 1184</span>&nbsp;&nbsp;    AM_RANGE(0x1560, 0x156f) AM_MIRROR(0xe000) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1185</span>&nbsp;&nbsp;    AM_RANGE(0x1570, 0x157f) AM_MIRROR(0xe000) AM_WRITEONLY
<span class="linenum"> 1186</span>&nbsp;&nbsp;    AM_RANGE(0x1586, 0x1587) AM_MIRROR(0xe000) AM_WRITENOP
<span class="linenum"> 1187</span>&nbsp;&nbsp;    AM_RANGE(0x15c0, 0x15c0) AM_MIRROR(0xe000) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1188</span>&nbsp;&nbsp;    AM_RANGE(0x15c7, 0x15c7) AM_MIRROR(0xe000) AM_WRITE(porky_banking_w)
<span class="linenum"> 1189</span>&nbsp;&nbsp;    AM_RANGE(0x1500, 0x1500) AM_MIRROR(0xe000) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1190</span>&nbsp;&nbsp;    AM_RANGE(0x1540, 0x1540) AM_MIRROR(0xe000) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1191</span>&nbsp;&nbsp;    AM_RANGE(0x1580, 0x1580) AM_MIRROR(0xe000) AM_READ_PORT(<span class="string">"DSW0"</span>)
<span class="linenum"> 1192</span>&nbsp;&nbsp;    AM_RANGE(0x1800, 0x1bff) AM_MIRROR(0xe000) AM_WRITE(s2650games_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1193</span>&nbsp;&nbsp;    AM_RANGE(0x1c00, 0x1fef) AM_MIRROR(0xe000) AM_RAM
<span class="linenum"> 1194</span>&nbsp;&nbsp;    AM_RANGE(0x1ff0, 0x1fff) AM_MIRROR(0xe000) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1195</span>&nbsp;&nbsp;    AM_RANGE(0x2000, 0x2fff) AM_MIRROR(0x8000) AM_ROMBANK(<span class="string">"bank2"</span>)
<span class="linenum"> 1196</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x4fff) AM_MIRROR(0x8000) AM_ROMBANK(<span class="string">"bank3"</span>)
<span class="linenum"> 1197</span>&nbsp;&nbsp;    AM_RANGE(0x6000, 0x6fff) AM_MIRROR(0x8000) AM_ROMBANK(<span class="string">"bank4"</span>)
<span class="linenum"> 1198</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1199</span>&nbsp;&nbsp;
<span class="linenum"> 1200</span>&nbsp;&nbsp;
<span class="linenum"> 1201</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( rocktrv2_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1202</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_ROM
<span class="linenum"> 1203</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1204</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1205</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fff) AM_RAM
<span class="linenum"> 1206</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_WRITE(irq_mask_w)
<span class="linenum"> 1207</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1208</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1209</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1210</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum"> 1211</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1212</span>&nbsp;&nbsp;    AM_RANGE(0x5fe0, 0x5fe3) AM_WRITE(rocktrv2_prot_data_w) AM_SHARE(<span class="string">"rocktrv2_prot"</span>)
<span class="linenum"> 1213</span>&nbsp;&nbsp;    AM_RANGE(0x5ff0, 0x5ff0) AM_WRITE(rocktrv2_question_bank_w)
<span class="linenum"> 1214</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1215</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x507f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1216</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1217</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1218</span>&nbsp;&nbsp;    AM_RANGE(0x5fe0, 0x5fe0) AM_READ(rocktrv2_prot1_data_r)
<span class="linenum"> 1219</span>&nbsp;&nbsp;    AM_RANGE(0x5fe4, 0x5fe4) AM_READ(rocktrv2_prot2_data_r)
<span class="linenum"> 1220</span>&nbsp;&nbsp;    AM_RANGE(0x5fe8, 0x5fe8) AM_READ(rocktrv2_prot3_data_r)
<span class="linenum"> 1221</span>&nbsp;&nbsp;    AM_RANGE(0x5fec, 0x5fec) AM_READ(rocktrv2_prot4_data_r)
<span class="linenum"> 1222</span>&nbsp;&nbsp;    AM_RANGE(0x5fff, 0x5fff) AM_READ_PORT(<span class="string">"DSW2"</span>)       <span class="comment">/* DSW2 mirrored */</span>
<span class="linenum"> 1223</span>&nbsp;&nbsp;    AM_RANGE(0x6000, 0x7fff) AM_ROM
<span class="linenum"> 1224</span>&nbsp;&nbsp;    AM_RANGE(0x8000, 0xffff) AM_READ(rocktrv2_question_r)
<span class="linenum"> 1225</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1226</span>&nbsp;&nbsp;
<span class="linenum"> 1227</span>&nbsp;&nbsp;
<span class="linenum"> 1228</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( bigbucks_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1229</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_ROM
<span class="linenum"> 1230</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1231</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1232</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fff) AM_RAM
<span class="linenum"> 1233</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_WRITE(irq_mask_w)
<span class="linenum"> 1234</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1235</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1236</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_WRITENOP <span class="comment">/*?*/</span>
<span class="linenum"> 1237</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum"> 1238</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1239</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x503f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1240</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x507f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1241</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x50bf) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1242</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50ff) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1243</span>&nbsp;&nbsp;    AM_RANGE(0x5100, 0x5100) AM_WRITENOP <span class="comment">/*?*/</span>
<span class="linenum"> 1244</span>&nbsp;&nbsp;    AM_RANGE(0x6000, 0x6000) AM_WRITE(bigbucks_bank_w)
<span class="linenum"> 1245</span>&nbsp;&nbsp;    AM_RANGE(0x8000, 0x9fff) AM_ROM
<span class="linenum"> 1246</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1247</span>&nbsp;&nbsp;
<span class="linenum"> 1248</span>&nbsp;&nbsp;
<span class="linenum"> 1249</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( mschamp_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1250</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_ROMBANK(<span class="string">"bank1"</span>)
<span class="linenum"> 1251</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1252</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1253</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4bff) AM_MIRROR(0xa000) AM_READ(pacman_read_nop) AM_WRITENOP
<span class="linenum"> 1254</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum"> 1255</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1256</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum"> 1257</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1258</span>&nbsp;&nbsp;    AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf38) AM_WRITENOP
<span class="linenum"> 1259</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1260</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_leds_w)</span>
<span class="linenum"> 1261</span>&nbsp;&nbsp;    AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_coin_lockout_global_w)</span>
<span class="linenum"> 1262</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1263</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum"> 1264</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1265</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1266</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum"> 1267</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1268</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1269</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1270</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1271</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1272</span>&nbsp;&nbsp;    AM_RANGE(0x8000, 0xbfff) AM_ROMBANK(<span class="string">"bank2"</span>)
<span class="linenum"> 1273</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1274</span>&nbsp;&nbsp;
<span class="linenum"> 1275</span>&nbsp;&nbsp;
<span class="linenum"> 1276</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( superabc_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1277</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_ROMBANK(<span class="string">"bank1"</span>)
<span class="linenum"> 1278</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1279</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1280</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"28c16.u17"</span>) <span class="comment">// nvram</span>
<span class="linenum"> 1281</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1282</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum"> 1283</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1284</span>&nbsp;&nbsp;    AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf3c) AM_WRITE(superabc_bank_w)
<span class="linenum"> 1285</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1286</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITE(pacman_leds_w)
<span class="linenum"> 1287</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1288</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_w)
<span class="linenum"> 1289</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1290</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1291</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum"> 1292</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1293</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1294</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1295</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1296</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1297</span>&nbsp;&nbsp;    AM_RANGE(0x8000, 0x9fff) AM_ROMBANK(<span class="string">"bank2"</span>)
<span class="linenum"> 1298</span>&nbsp;&nbsp;    AM_RANGE(0xa000, 0xbfff) AM_ROMBANK(<span class="string">"bank3"</span>)
<span class="linenum"> 1299</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1300</span>&nbsp;&nbsp;
<span class="linenum"> 1301</span>&nbsp;&nbsp;
<span class="linenum"> 1302</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( crushs_map, AS_PROGRAM, 8, pacman_state )
<span class="linenum"> 1303</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x8000) AM_ROM
<span class="linenum"> 1304</span>&nbsp;&nbsp;    AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE(<span class="string">"videoram"</span>)
<span class="linenum"> 1305</span>&nbsp;&nbsp;    AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE(<span class="string">"colorram"</span>)
<span class="linenum"> 1306</span>&nbsp;&nbsp;    AM_RANGE(0x4800, 0x4bff) AM_MIRROR(0xa000) AM_READ(pacman_read_nop) AM_WRITENOP
<span class="linenum"> 1307</span>&nbsp;&nbsp;    AM_RANGE(0x4c00, 0x4fef) AM_MIRROR(0xa000) AM_RAM
<span class="linenum"> 1308</span>&nbsp;&nbsp;    AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE(<span class="string">"spriteram"</span>)
<span class="linenum"> 1309</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
<span class="linenum"> 1310</span>&nbsp;&nbsp;    AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, pacman_sound_enable_w)
<span class="linenum"> 1311</span>&nbsp;&nbsp;    AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf38) AM_WRITENOP
<span class="linenum"> 1312</span>&nbsp;&nbsp;    AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
<span class="linenum"> 1313</span>&nbsp;&nbsp;    AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_leds_w)</span>
<span class="linenum"> 1314</span>&nbsp;&nbsp;    AM_RANGE(0x5006, 0x5006) AM_MIRROR(0xaf38) AM_WRITENOP <span class="comment">// AM_WRITE(pacman_coin_lockout_global_w)</span>
<span class="linenum"> 1315</span>&nbsp;&nbsp;    AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
<span class="linenum"> 1316</span>&nbsp;&nbsp;    AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_WRITENOP <span class="comment">// doesn't use pacman sound hw</span>
<span class="linenum"> 1317</span>&nbsp;&nbsp;    AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE(<span class="string">"spriteram2"</span>)
<span class="linenum"> 1318</span>&nbsp;&nbsp;    AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
<span class="linenum"> 1319</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
<span class="linenum"> 1320</span>&nbsp;&nbsp;    AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
<span class="linenum"> 1321</span>&nbsp;&nbsp;    AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN0"</span>)
<span class="linenum"> 1322</span>&nbsp;&nbsp;    AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT(<span class="string">"IN1"</span>)
<span class="linenum"> 1323</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1324</span>&nbsp;&nbsp;
<span class="linenum"> 1325</span>&nbsp;&nbsp;
<span class="linenum"> 1326</span>&nbsp;&nbsp;
<span class="linenum"> 1327</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum"> 1328</span>&nbsp;&nbsp; *
<span class="linenum"> 1329</span>&nbsp;&nbsp; *  Main CPU port handlers
<span class="linenum"> 1330</span>&nbsp;&nbsp; *
<span class="linenum"> 1331</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum"> 1332</span>&nbsp;&nbsp;
<span class="linenum"> 1333</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( writeport, AS_IO, 8, pacman_state )
<span class="linenum"> 1334</span>&nbsp;&nbsp;    ADDRESS_MAP_GLOBAL_MASK(0xff)
<span class="linenum"> 1335</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0x00) AM_WRITE(pacman_interrupt_vector_w)    <span class="comment">/* Pac-Man only */</span>
<span class="linenum"> 1336</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1337</span>&nbsp;&nbsp;
<span class="linenum"> 1338</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( vanvan_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1339</span>&nbsp;&nbsp;    ADDRESS_MAP_GLOBAL_MASK(0xff)
<span class="linenum"> 1340</span>&nbsp;&nbsp;    AM_RANGE(0x01, 0x01) AM_DEVWRITE(<span class="string">"namco"</span>, sn76496_device, write)
<span class="linenum"> 1341</span>&nbsp;&nbsp;    AM_RANGE(0x02, 0x02) AM_DEVWRITE(<span class="string">"sn2"</span>, sn76496_device, write)
<span class="linenum"> 1342</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1343</span>&nbsp;&nbsp;
<span class="linenum"> 1344</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( dremshpr_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1345</span>&nbsp;&nbsp;    ADDRESS_MAP_GLOBAL_MASK(0xff)
<span class="linenum"> 1346</span>&nbsp;&nbsp;    AM_RANGE(0x06, 0x07) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, ay8910_data_address_w)
<span class="linenum"> 1347</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1348</span>&nbsp;&nbsp;
<span class="linenum"> 1349</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( piranha_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1350</span>&nbsp;&nbsp;    ADDRESS_MAP_GLOBAL_MASK(0xff)
<span class="linenum"> 1351</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0x00) AM_WRITE(piranha_interrupt_vector_w)
<span class="linenum"> 1352</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1353</span>&nbsp;&nbsp;
<span class="linenum"> 1354</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( nmouse_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1355</span>&nbsp;&nbsp;    ADDRESS_MAP_GLOBAL_MASK(0xff)
<span class="linenum"> 1356</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0x00) AM_WRITE(nmouse_interrupt_vector_w)
<span class="linenum"> 1357</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1358</span>&nbsp;&nbsp;
<span class="linenum"> 1359</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( theglobp_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1360</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0xff) AM_READ_LEGACY(theglobp_decrypt_rom)   <span class="comment">/* Switch protection logic */</span>
<span class="linenum"> 1361</span>&nbsp;&nbsp;    AM_IMPORT_FROM(writeport)
<span class="linenum"> 1362</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1363</span>&nbsp;&nbsp;
<span class="linenum"> 1364</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( acitya_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1365</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0xff) AM_READ_LEGACY(acitya_decrypt_rom) <span class="comment">/* Switch protection logic */</span>
<span class="linenum"> 1366</span>&nbsp;&nbsp;    AM_IMPORT_FROM(writeport)
<span class="linenum"> 1367</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1368</span>&nbsp;&nbsp;
<span class="linenum"> 1369</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( mschamp_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1370</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0x00) AM_READ(mschamp_kludge_r)
<span class="linenum"> 1371</span>&nbsp;&nbsp;    AM_IMPORT_FROM(writeport)
<span class="linenum"> 1372</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1373</span>&nbsp;&nbsp;
<span class="linenum"> 1374</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( bigbucks_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1375</span>&nbsp;&nbsp;    AM_RANGE(0x0000, 0xffff) AM_READ(bigbucks_question_r)
<span class="linenum"> 1376</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1377</span>&nbsp;&nbsp;
<span class="linenum"> 1378</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( s2650games_writeport, AS_IO, 8, pacman_state )
<span class="linenum"> 1379</span>&nbsp;&nbsp;    AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_DEVWRITE(<span class="string">"namco"</span>, sn76496_device, write)
<span class="linenum"> 1380</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1381</span>&nbsp;&nbsp;
<span class="linenum"> 1382</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( drivfrcp_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1383</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0x00) AM_READNOP
<span class="linenum"> 1384</span>&nbsp;&nbsp;    AM_RANGE(0x01, 0x01) AM_READ(drivfrcp_port1_r)
<span class="linenum"> 1385</span>&nbsp;&nbsp;    AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT(<span class="string">"SENSE"</span>)
<span class="linenum"> 1386</span>&nbsp;&nbsp;    AM_IMPORT_FROM(s2650games_writeport)
<span class="linenum"> 1387</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1388</span>&nbsp;&nbsp;
<span class="linenum"> 1389</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( _8bpm_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1390</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0x00) AM_READNOP
<span class="linenum"> 1391</span>&nbsp;&nbsp;    AM_RANGE(0x01, 0x01) AM_READ(_8bpm_port1_r)
<span class="linenum"> 1392</span>&nbsp;&nbsp;    AM_RANGE(0xe0, 0xe0) AM_READNOP
<span class="linenum"> 1393</span>&nbsp;&nbsp;    AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT(<span class="string">"SENSE"</span>)
<span class="linenum"> 1394</span>&nbsp;&nbsp;    AM_IMPORT_FROM(s2650games_writeport)
<span class="linenum"> 1395</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1396</span>&nbsp;&nbsp;
<span class="linenum"> 1397</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( porky_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1398</span>&nbsp;&nbsp;    AM_RANGE(0x01, 0x01) AM_READ(porky_port1_r)
<span class="linenum"> 1399</span>&nbsp;&nbsp;    AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT(<span class="string">"SENSE"</span>)
<span class="linenum"> 1400</span>&nbsp;&nbsp;    AM_IMPORT_FROM(s2650games_writeport)
<span class="linenum"> 1401</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1402</span>&nbsp;&nbsp;
<span class="linenum"> 1403</span>&nbsp;&nbsp;<span class="keyword">static</span> ADDRESS_MAP_START( crushs_portmap, AS_IO, 8, pacman_state )
<span class="linenum"> 1404</span>&nbsp;&nbsp;    ADDRESS_MAP_GLOBAL_MASK(0xff)
<span class="linenum"> 1405</span>&nbsp;&nbsp;    AM_RANGE(0x00, 0x01) AM_DEVWRITE_LEGACY(<span class="string">"namco"</span>, ay8910_data_address_w)
<span class="linenum"> 1406</span>&nbsp;&nbsp;    AM_RANGE(0x01, 0x01) AM_READ_PORT(<span class="string">"DSW2"</span>)
<span class="linenum"> 1407</span>&nbsp;&nbsp;    AM_RANGE(0x02, 0x02) AM_READ_PORT(<span class="string">"DSW1"</span>)
<span class="linenum"> 1408</span>&nbsp;&nbsp;ADDRESS_MAP_END
<span class="linenum"> 1409</span>&nbsp;&nbsp;
<span class="linenum"> 1410</span>&nbsp;&nbsp;
<span class="linenum"> 1411</span>&nbsp;&nbsp;
<span class="linenum"> 1412</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum"> 1413</span>&nbsp;&nbsp; *
<span class="linenum"> 1414</span>&nbsp;&nbsp; *  Port definitions
<span class="linenum"> 1415</span>&nbsp;&nbsp; *
<span class="linenum"> 1416</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum"> 1417</span>&nbsp;&nbsp;
<span class="linenum"> 1418</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( pacman )
<span class="linenum"> 1419</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1420</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )    PORT_PLAYER(1) PORT_4WAY
<span class="linenum"> 1421</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )  PORT_PLAYER(1) PORT_4WAY
<span class="linenum"> 1422</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) PORT_4WAY
<span class="linenum"> 1423</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )  PORT_PLAYER(1) PORT_4WAY
<span class="linenum"> 1424</span>&nbsp;&nbsp;    PORT_DIPNAME(0x10, 0x10, <span class="string">"Rack Test (Cheat)"</span> )  PORT_CODE(KEYCODE_F1)
<span class="linenum"> 1425</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1426</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1427</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1428</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1429</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1430</span>&nbsp;&nbsp;
<span class="linenum"> 1431</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1432</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )    PORT_PLAYER(2) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1433</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )  PORT_PLAYER(2) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1434</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1435</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )  PORT_PLAYER(2) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1436</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 1437</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1438</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1439</span>&nbsp;&nbsp;    PORT_DIPNAME(0x80, 0x80, DEF_STR( Cabinet ) )
<span class="linenum"> 1440</span>&nbsp;&nbsp;    PORT_DIPSETTING(   0x80, DEF_STR( Upright ) )
<span class="linenum"> 1441</span>&nbsp;&nbsp;    PORT_DIPSETTING(   0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 1442</span>&nbsp;&nbsp;
<span class="linenum"> 1443</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1444</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )      PORT_DIPLOCATION(<span class="string">"SW:1,2"</span>)
<span class="linenum"> 1445</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1446</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1447</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1448</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1449</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )        PORT_DIPLOCATION(<span class="string">"SW:3,4"</span>)
<span class="linenum"> 1450</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 1451</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 1452</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 1453</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"5"</span> )
<span class="linenum"> 1454</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION(<span class="string">"SW:5,6"</span>)
<span class="linenum"> 1455</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"10000"</span> )
<span class="linenum"> 1456</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"15000"</span> )
<span class="linenum"> 1457</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"20000"</span> )
<span class="linenum"> 1458</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, DEF_STR( None ) )
<span class="linenum"> 1459</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION(<span class="string">"SW:7"</span>)
<span class="linenum"> 1460</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
<span class="linenum"> 1461</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 1462</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, <span class="string">"Ghost Names"</span> )
<span class="linenum"> 1463</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Normal ) )
<span class="linenum"> 1464</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Alternate ) )    PORT_DIPLOCATION(<span class="string">"SW:8"</span>)
<span class="linenum"> 1465</span>&nbsp;&nbsp;
<span class="linenum"> 1466</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1467</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1468</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1469</span>&nbsp;&nbsp;
<span class="linenum"> 1470</span>&nbsp;&nbsp;
<span class="linenum"> 1471</span>&nbsp;&nbsp;<span class="comment">/* Ms. Pac-Man input ports are identical to Pac-Man, the only difference is */</span>
<span class="linenum"> 1472</span>&nbsp;&nbsp;<span class="comment">/* the missing Ghost Names dip switch. */</span>
<span class="linenum"> 1473</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( mspacman )
<span class="linenum"> 1474</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1475</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 1476</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 1477</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 1478</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 1479</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"Rack Test (Cheat)"</span> ) PORT_CODE(KEYCODE_F1)
<span class="linenum"> 1480</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1481</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1482</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1483</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1484</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1485</span>&nbsp;&nbsp;
<span class="linenum"> 1486</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1487</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1488</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1489</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1490</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1491</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 1492</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1493</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1494</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
<span class="linenum"> 1495</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
<span class="linenum"> 1496</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 1497</span>&nbsp;&nbsp;
<span class="linenum"> 1498</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1499</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 1500</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1501</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1502</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1503</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1504</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 1505</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 1506</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 1507</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 1508</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"5"</span> )
<span class="linenum"> 1509</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
<span class="linenum"> 1510</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"10000"</span> )
<span class="linenum"> 1511</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"15000"</span> )
<span class="linenum"> 1512</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"20000"</span> )
<span class="linenum"> 1513</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, DEF_STR( None ) )
<span class="linenum"> 1514</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
<span class="linenum"> 1515</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
<span class="linenum"> 1516</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 1517</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 1518</span>&nbsp;&nbsp;
<span class="linenum"> 1519</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1520</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1521</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1522</span>&nbsp;&nbsp;
<span class="linenum"> 1523</span>&nbsp;&nbsp;
<span class="linenum"> 1524</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( mspacpls )
<span class="linenum"> 1525</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1526</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 1527</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 1528</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 1529</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 1530</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"Rack Test (Cheat)"</span> ) PORT_CODE(KEYCODE_F1)
<span class="linenum"> 1531</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1532</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1533</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1534</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1535</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1536</span>&nbsp;&nbsp;
<span class="linenum"> 1537</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1538</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1539</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1540</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1541</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1542</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 1543</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) <span class="comment">/* Also invincibility when playing */</span>
<span class="linenum"> 1544</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 ) <span class="comment">/* Also speed-up when playing */</span>
<span class="linenum"> 1545</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
<span class="linenum"> 1546</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
<span class="linenum"> 1547</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 1548</span>&nbsp;&nbsp;
<span class="linenum"> 1549</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1550</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 1551</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1552</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1553</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1554</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1555</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 1556</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 1557</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 1558</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 1559</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"5"</span> )
<span class="linenum"> 1560</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
<span class="linenum"> 1561</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"10000"</span> )
<span class="linenum"> 1562</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"15000"</span> )
<span class="linenum"> 1563</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"20000"</span> )
<span class="linenum"> 1564</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, DEF_STR( None ) )
<span class="linenum"> 1565</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
<span class="linenum"> 1566</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
<span class="linenum"> 1567</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 1568</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 1569</span>&nbsp;&nbsp;
<span class="linenum"> 1570</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1571</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1572</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1573</span>&nbsp;&nbsp;
<span class="linenum"> 1574</span>&nbsp;&nbsp;
<span class="linenum"> 1575</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( mschamp )
<span class="linenum"> 1576</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1577</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 1578</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 1579</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 1580</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 1581</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"Rack Test (Cheat)"</span> ) PORT_CODE(KEYCODE_F1)
<span class="linenum"> 1582</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1583</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1584</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1585</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1586</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 )
<span class="linenum"> 1587</span>&nbsp;&nbsp;
<span class="linenum"> 1588</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1589</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1590</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1591</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1592</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1593</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 1594</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1595</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1596</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
<span class="linenum"> 1597</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
<span class="linenum"> 1598</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 1599</span>&nbsp;&nbsp;
<span class="linenum"> 1600</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1601</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 1602</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1603</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1604</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1605</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1606</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 1607</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 1608</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 1609</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 1610</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"5"</span> )
<span class="linenum"> 1611</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
<span class="linenum"> 1612</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"10000"</span> )
<span class="linenum"> 1613</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"15000"</span> )
<span class="linenum"> 1614</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"20000"</span> )
<span class="linenum"> 1615</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, DEF_STR( None ) )
<span class="linenum"> 1616</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
<span class="linenum"> 1617</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
<span class="linenum"> 1618</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 1619</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 1620</span>&nbsp;&nbsp;
<span class="linenum"> 1621</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1622</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1623</span>&nbsp;&nbsp;
<span class="linenum"> 1624</span>&nbsp;&nbsp;    PORT_START(<span class="string">"GAME"</span>)
<span class="linenum"> 1625</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x01, <span class="string">"Game"</span> )
<span class="linenum"> 1626</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, <span class="string">"Champion Edition"</span> )
<span class="linenum"> 1627</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"Super Zola Pac Gal"</span> )
<span class="linenum"> 1628</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 1629</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 1630</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( On ) )
<span class="linenum"> 1631</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 1632</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 1633</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( On ) )
<span class="linenum"> 1634</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 1635</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 1636</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( On ) )
<span class="linenum"> 1637</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1638</span>&nbsp;&nbsp;
<span class="linenum"> 1639</span>&nbsp;&nbsp;
<span class="linenum"> 1640</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( superabc )
<span class="linenum"> 1641</span>&nbsp;&nbsp;    PORT_INCLUDE( pacman )
<span class="linenum"> 1642</span>&nbsp;&nbsp;
<span class="linenum"> 1643</span>&nbsp;&nbsp;    PORT_MODIFY(<span class="string">"DSW1"</span>)
<span class="linenum"> 1644</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION(<span class="string">"SW:5,6"</span>)
<span class="linenum"> 1645</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"10000, Allow Continue"</span> ) <span class="comment">// also free game in Ultra Pac-Man</span>
<span class="linenum"> 1646</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"15000, Allow Continue"</span> ) <span class="comment">// also free game in Ultra Pac-Man</span>
<span class="linenum"> 1647</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"20000, No Continue"</span> )    <span class="comment">// also free life in Ultra Pac-Man</span>
<span class="linenum"> 1648</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"None, No Continue"</span> )     <span class="comment">// also free life in Ultra Pac-Man</span>
<span class="linenum"> 1649</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 1650</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1651</span>&nbsp;&nbsp;
<span class="linenum"> 1652</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( birdiy )
<span class="linenum"> 1653</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1654</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )    PORT_PLAYER(1) PORT_4WAY
<span class="linenum"> 1655</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )  PORT_PLAYER(1) PORT_4WAY
<span class="linenum"> 1656</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) PORT_4WAY
<span class="linenum"> 1657</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )  PORT_PLAYER(1) PORT_4WAY
<span class="linenum"> 1658</span>&nbsp;&nbsp;    PORT_DIPNAME(0x10, 0x10, <span class="string">"Rack Test (Cheat)"</span> )  PORT_CODE(KEYCODE_F1)
<span class="linenum"> 1659</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1660</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1661</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1662</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1663</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1664</span>&nbsp;&nbsp;
<span class="linenum"> 1665</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1666</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )    PORT_PLAYER(2) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1667</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )  PORT_PLAYER(2) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1668</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1669</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )  PORT_PLAYER(2) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1670</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 1671</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1672</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1673</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 1674</span>&nbsp;&nbsp;
<span class="linenum"> 1675</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1676</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )      PORT_DIPLOCATION(<span class="string">"SW:1,2"</span>)
<span class="linenum"> 1677</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1678</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1679</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1680</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1681</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )        PORT_DIPLOCATION(<span class="string">"SW:3,4"</span>)
<span class="linenum"> 1682</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 1683</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 1684</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 1685</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"4"</span> )
<span class="linenum"> 1686</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION(<span class="string">"SW:5"</span>)
<span class="linenum"> 1687</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 1688</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
<span class="linenum"> 1689</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, <span class="string">"Skip Screen"</span> )       PORT_DIPLOCATION(<span class="string">"SW:7"</span>) <span class="comment">/* Used to skip "Act" (AKA level)?? - How do you activate it? */</span>
<span class="linenum"> 1690</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 1691</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1692</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )       PORT_DIPLOCATION(<span class="string">"SW:7"</span>)
<span class="linenum"> 1693</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
<span class="linenum"> 1694</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1695</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, <span class="string">"Stop Screen"</span> )       PORT_DIPLOCATION(<span class="string">"SW:8"</span>) <span class="comment">/* Seems to have no function? */</span>
<span class="linenum"> 1696</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 1697</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1698</span>&nbsp;&nbsp;
<span class="linenum"> 1699</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1700</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1701</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1702</span>&nbsp;&nbsp;
<span class="linenum"> 1703</span>&nbsp;&nbsp;
<span class="linenum"> 1704</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( maketrax )
<span class="linenum"> 1705</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1706</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 1707</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 1708</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 1709</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 1710</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )
<span class="linenum"> 1711</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 1712</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
<span class="linenum"> 1713</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1714</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1715</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1716</span>&nbsp;&nbsp;
<span class="linenum"> 1717</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1718</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1719</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1720</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1721</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1722</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection */</span>
<span class="linenum"> 1723</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1724</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1725</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection */</span>
<span class="linenum"> 1726</span>&nbsp;&nbsp;
<span class="linenum"> 1727</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1728</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 1729</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1730</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1731</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1732</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1733</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) )
<span class="linenum"> 1734</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"3"</span> )
<span class="linenum"> 1735</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"4"</span> )
<span class="linenum"> 1736</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"5"</span> )
<span class="linenum"> 1737</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"6"</span> )
<span class="linenum"> 1738</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"First Pattern"</span> )
<span class="linenum"> 1739</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
<span class="linenum"> 1740</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 1741</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, <span class="string">"Teleport Holes"</span> )
<span class="linenum"> 1742</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 1743</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1744</span>&nbsp;&nbsp;    PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection */</span>
<span class="linenum"> 1745</span>&nbsp;&nbsp;
<span class="linenum"> 1746</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1747</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1748</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1749</span>&nbsp;&nbsp;
<span class="linenum"> 1750</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( crush4 )
<span class="linenum"> 1751</span>&nbsp;&nbsp;    PORT_INCLUDE( maketrax )
<span class="linenum"> 1752</span>&nbsp;&nbsp;
<span class="linenum"> 1753</span>&nbsp;&nbsp;    PORT_START(<span class="string">"GAME"</span>)
<span class="linenum"> 1754</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SPECIAL ) <span class="comment">// always select 2nd part of code</span>
<span class="linenum"> 1755</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1756</span>&nbsp;&nbsp;
<span class="linenum"> 1757</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( korosuke )
<span class="linenum"> 1758</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1759</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 1760</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 1761</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 1762</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 1763</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )
<span class="linenum"> 1764</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 1765</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
<span class="linenum"> 1766</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 1767</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1768</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 1769</span>&nbsp;&nbsp;
<span class="linenum"> 1770</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1771</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1772</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1773</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1774</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1775</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection */</span>
<span class="linenum"> 1776</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1777</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1778</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection */</span>
<span class="linenum"> 1779</span>&nbsp;&nbsp;
<span class="linenum"> 1780</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1781</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 1782</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1783</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1784</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1785</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1786</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) )
<span class="linenum"> 1787</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"3"</span> )
<span class="linenum"> 1788</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"4"</span> )
<span class="linenum"> 1789</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"5"</span> )
<span class="linenum"> 1790</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"6"</span> )
<span class="linenum"> 1791</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"First Pattern"</span> )
<span class="linenum"> 1792</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
<span class="linenum"> 1793</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 1794</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, <span class="string">"Teleport Holes"</span> )
<span class="linenum"> 1795</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 1796</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1797</span>&nbsp;&nbsp;    PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection */</span>
<span class="linenum"> 1798</span>&nbsp;&nbsp;
<span class="linenum"> 1799</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1800</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1801</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1802</span>&nbsp;&nbsp;
<span class="linenum"> 1803</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( mbrush )
<span class="linenum"> 1804</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1805</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 1806</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 1807</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 1808</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 1809</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )
<span class="linenum"> 1810</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 1811</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
<span class="linenum"> 1812</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1813</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1814</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1815</span>&nbsp;&nbsp;
<span class="linenum"> 1816</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1817</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1818</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1819</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1820</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1821</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection in Make Trax */</span>
<span class="linenum"> 1822</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1823</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1824</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection in Make Trax */</span>
<span class="linenum"> 1825</span>&nbsp;&nbsp;
<span class="linenum"> 1826</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1827</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 1828</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1829</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1830</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1831</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1832</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 1833</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 1834</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 1835</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 1836</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"4"</span> )
<span class="linenum"> 1837</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
<span class="linenum"> 1838</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1839</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1840</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
<span class="linenum"> 1841</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 1842</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1843</span>&nbsp;&nbsp;    PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection in Make Trax */</span>
<span class="linenum"> 1844</span>&nbsp;&nbsp;
<span class="linenum"> 1845</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1846</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1847</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1848</span>&nbsp;&nbsp;
<span class="linenum"> 1849</span>&nbsp;&nbsp;
<span class="linenum"> 1850</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( paintrlr )
<span class="linenum"> 1851</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1852</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 1853</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 1854</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 1855</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 1856</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )
<span class="linenum"> 1857</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 1858</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
<span class="linenum"> 1859</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1860</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1861</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1862</span>&nbsp;&nbsp;
<span class="linenum"> 1863</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1864</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1865</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1866</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1867</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1868</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection in Make Trax */</span>
<span class="linenum"> 1869</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1870</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1871</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection in Make Trax */</span>
<span class="linenum"> 1872</span>&nbsp;&nbsp;
<span class="linenum"> 1873</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1874</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 1875</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 1876</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 1877</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 1878</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 1879</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) )
<span class="linenum"> 1880</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"3"</span> )
<span class="linenum"> 1881</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"4"</span> )
<span class="linenum"> 1882</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"5"</span> )
<span class="linenum"> 1883</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"6"</span> )
<span class="linenum"> 1884</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
<span class="linenum"> 1885</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1886</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1887</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
<span class="linenum"> 1888</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 1889</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1890</span>&nbsp;&nbsp;    PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNUSED )  <span class="comment">/* Protection in Make Trax */</span>
<span class="linenum"> 1891</span>&nbsp;&nbsp;
<span class="linenum"> 1892</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1893</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 1894</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1895</span>&nbsp;&nbsp;
<span class="linenum"> 1896</span>&nbsp;&nbsp;
<span class="linenum"> 1897</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( crushs )
<span class="linenum"> 1898</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1899</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 1900</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 1901</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 1902</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 1903</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE2 ) <span class="comment">/* Audio Test? */</span>
<span class="linenum"> 1904</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1905</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1906</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1907</span>&nbsp;&nbsp;
<span class="linenum"> 1908</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1909</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1910</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1911</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1912</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 1913</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"Teleport Holes"</span> )
<span class="linenum"> 1914</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1915</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1916</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 1917</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 1918</span>&nbsp;&nbsp;    PORT_SERVICE( 0x80, IP_ACTIVE_LOW)
<span class="linenum"> 1919</span>&nbsp;&nbsp;
<span class="linenum"> 1920</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 1921</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 1922</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
<span class="linenum"> 1923</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1924</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 1925</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
<span class="linenum"> 1926</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1927</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 1928</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
<span class="linenum"> 1929</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1930</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 1931</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
<span class="linenum"> 1932</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1933</span>&nbsp;&nbsp;    <span class="comment">/* These last dips seems doesn't works in the test input, why? */</span>
<span class="linenum"> 1934</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
<span class="linenum"> 1935</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 1936</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1937</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
<span class="linenum"> 1938</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 1939</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1940</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
<span class="linenum"> 1941</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
<span class="linenum"> 1942</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1943</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 1944</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 1945</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 1946</span>&nbsp;&nbsp;
<span class="linenum"> 1947</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 1948</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0f, 0x00, DEF_STR( Coin_A ) )
<span class="linenum"> 1949</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
<span class="linenum"> 1950</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x09, DEF_STR( 2C_2C ) )
<span class="linenum"> 1951</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
<span class="linenum"> 1952</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0a, DEF_STR( 2C_3C ) )
<span class="linenum"> 1953</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0b, DEF_STR( 2C_4C ) )
<span class="linenum"> 1954</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
<span class="linenum"> 1955</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, DEF_STR( 2C_5C ) )
<span class="linenum"> 1956</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0d, DEF_STR( 2C_6C ) )
<span class="linenum"> 1957</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
<span class="linenum"> 1958</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0e, DEF_STR( 2C_7C ) )
<span class="linenum"> 1959</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0f, DEF_STR( 2C_8C ) )
<span class="linenum"> 1960</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 1C_4C ) )
<span class="linenum"> 1961</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( 1C_5C ) )
<span class="linenum"> 1962</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x05, DEF_STR( 1C_6C ) )
<span class="linenum"> 1963</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x06, DEF_STR( 1C_7C ) )
<span class="linenum"> 1964</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x07, DEF_STR( 1C_8C ) )
<span class="linenum"> 1965</span>&nbsp;&nbsp;    PORT_DIPNAME( 0xf0, 0x00, DEF_STR( Coin_B ) )
<span class="linenum"> 1966</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ) )
<span class="linenum"> 1967</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x90, DEF_STR( 2C_2C ) )
<span class="linenum"> 1968</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
<span class="linenum"> 1969</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0xa0, DEF_STR( 2C_3C ) )
<span class="linenum"> 1970</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0xb0, DEF_STR( 2C_4C ) )
<span class="linenum"> 1971</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( 1C_2C ) )
<span class="linenum"> 1972</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0xc0, DEF_STR( 2C_5C ) )
<span class="linenum"> 1973</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0xd0, DEF_STR( 2C_6C ) )
<span class="linenum"> 1974</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( 1C_3C ) )
<span class="linenum"> 1975</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0xe0, DEF_STR( 2C_7C ) )
<span class="linenum"> 1976</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0xf0, DEF_STR( 2C_8C ) )
<span class="linenum"> 1977</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, DEF_STR( 1C_4C ) )
<span class="linenum"> 1978</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( 1C_5C ) )
<span class="linenum"> 1979</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x50, DEF_STR( 1C_6C ) )
<span class="linenum"> 1980</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x60, DEF_STR( 1C_7C ) )
<span class="linenum"> 1981</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x70, DEF_STR( 1C_8C ) )
<span class="linenum"> 1982</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 1983</span>&nbsp;&nbsp;
<span class="linenum"> 1984</span>&nbsp;&nbsp;
<span class="linenum"> 1985</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( ponpoko )
<span class="linenum"> 1986</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 1987</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY
<span class="linenum"> 1988</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY
<span class="linenum"> 1989</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY
<span class="linenum"> 1990</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY
<span class="linenum"> 1991</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
<span class="linenum"> 1992</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 1993</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 1994</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 1995</span>&nbsp;&nbsp;
<span class="linenum"> 1996</span>&nbsp;&nbsp;    <span class="comment">/* The 2nd player controls are used even in upright mode */</span>
<span class="linenum"> 1997</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 1998</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 1999</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2000</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2001</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2002</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2)
<span class="linenum"> 2003</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_START1 )
<span class="linenum"> 2004</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_START2 )
<span class="linenum"> 2005</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2006</span>&nbsp;&nbsp;
<span class="linenum"> 2007</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2008</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2009</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, <span class="string">"10000"</span> )
<span class="linenum"> 2010</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, <span class="string">"30000"</span> )
<span class="linenum"> 2011</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, <span class="string">"50000"</span> )
<span class="linenum"> 2012</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( None ) )
<span class="linenum"> 2013</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2014</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"0"</span> )
<span class="linenum"> 2015</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"1"</span> )
<span class="linenum"> 2016</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"2"</span> )
<span class="linenum"> 2017</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"3"</span> )
<span class="linenum"> 2018</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x20, DEF_STR( Lives ) )
<span class="linenum"> 2019</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"2"</span> )
<span class="linenum"> 2020</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"3"</span> )
<span class="linenum"> 2021</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"4"</span> )
<span class="linenum"> 2022</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"5"</span> )
<span class="linenum"> 2023</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
<span class="linenum"> 2024</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
<span class="linenum"> 2025</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2026</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2027</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2028</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2029</span>&nbsp;&nbsp;
<span class="linenum"> 2030</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2031</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0f, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 2032</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"A 3/1 B 3/1"</span> )
<span class="linenum"> 2033</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0e, <span class="string">"A 3/1 B 1/2"</span> )
<span class="linenum"> 2034</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0f, <span class="string">"A 3/1 B 1/4"</span> )
<span class="linenum"> 2035</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, <span class="string">"A 2/1 B 2/1"</span> )
<span class="linenum"> 2036</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0d, <span class="string">"A 2/1 B 1/1"</span> )
<span class="linenum"> 2037</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x07, <span class="string">"A 2/1 B 1/3"</span> )
<span class="linenum"> 2038</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0b, <span class="string">"A 2/1 B 1/5"</span> )
<span class="linenum"> 2039</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"A 2/1 B 1/6"</span> )
<span class="linenum"> 2040</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, <span class="string">"A 1/1 B 1/1"</span> )
<span class="linenum"> 2041</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x06, <span class="string">"A 1/1 B 4/5"</span> )
<span class="linenum"> 2042</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x05, <span class="string">"A 1/1 B 2/3"</span> )
<span class="linenum"> 2043</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0a, <span class="string">"A 1/1 B 1/3"</span> )
<span class="linenum"> 2044</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"A 1/1 B 1/5"</span> )
<span class="linenum"> 2045</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x09, <span class="string">"A 1/1 B 1/6"</span> )
<span class="linenum"> 2046</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, <span class="string">"A 1/2 B 1/2"</span> )
<span class="linenum"> 2047</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 2048</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  <span class="comment">/* Most likely unused */</span>
<span class="linenum"> 2049</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 2050</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2051</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  <span class="comment">/* Most likely unused */</span>
<span class="linenum"> 2052</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 2053</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2054</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
<span class="linenum"> 2055</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
<span class="linenum"> 2056</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2057</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  <span class="comment">/* Most likely unused */</span>
<span class="linenum"> 2058</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2059</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2060</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2061</span>&nbsp;&nbsp;
<span class="linenum"> 2062</span>&nbsp;&nbsp;
<span class="linenum"> 2063</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( eyes )
<span class="linenum"> 2064</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2065</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2066</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2067</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2068</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2069</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 2070</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2071</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_TILT )
<span class="linenum"> 2072</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2073</span>&nbsp;&nbsp;
<span class="linenum"> 2074</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2075</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2076</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2077</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2078</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2079</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2080</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2081</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2082</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 2083</span>&nbsp;&nbsp;
<span class="linenum"> 2084</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2085</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
<span class="linenum"> 2086</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
<span class="linenum"> 2087</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
<span class="linenum"> 2088</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 2089</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 2090</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 2091</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"2"</span> )
<span class="linenum"> 2092</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 2093</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"4"</span> )
<span class="linenum"> 2094</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"5"</span> )
<span class="linenum"> 2095</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2096</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"50000"</span> )
<span class="linenum"> 2097</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"75000"</span> )
<span class="linenum"> 2098</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"100000"</span> )
<span class="linenum"> 2099</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"125000"</span> )
<span class="linenum"> 2100</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
<span class="linenum"> 2101</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
<span class="linenum"> 2102</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2103</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  <span class="comment">/* Not accessed */</span>
<span class="linenum"> 2104</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2105</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2106</span>&nbsp;&nbsp;
<span class="linenum"> 2107</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2108</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2109</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2110</span>&nbsp;&nbsp;
<span class="linenum"> 2111</span>&nbsp;&nbsp;
<span class="linenum"> 2112</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( mrtnt )
<span class="linenum"> 2113</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2114</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2115</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2116</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2117</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2118</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 2119</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2120</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_TILT )
<span class="linenum"> 2121</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2122</span>&nbsp;&nbsp;
<span class="linenum"> 2123</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2124</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2125</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2126</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2127</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2128</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2129</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2130</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2131</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 2132</span>&nbsp;&nbsp;
<span class="linenum"> 2133</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2134</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
<span class="linenum"> 2135</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
<span class="linenum"> 2136</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
<span class="linenum"> 2137</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 2138</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 2139</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 2140</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"2"</span> )
<span class="linenum"> 2141</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 2142</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"4"</span> )
<span class="linenum"> 2143</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"5"</span> )
<span class="linenum"> 2144</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2145</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"75000"</span> )
<span class="linenum"> 2146</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"100000"</span> )
<span class="linenum"> 2147</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"125000"</span> )
<span class="linenum"> 2148</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"150000"</span> )
<span class="linenum"> 2149</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
<span class="linenum"> 2150</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
<span class="linenum"> 2151</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2152</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2153</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2154</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2155</span>&nbsp;&nbsp;
<span class="linenum"> 2156</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2157</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2158</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2159</span>&nbsp;&nbsp;
<span class="linenum"> 2160</span>&nbsp;&nbsp;
<span class="linenum"> 2161</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( lizwiz )
<span class="linenum"> 2162</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2163</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY
<span class="linenum"> 2164</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY
<span class="linenum"> 2165</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
<span class="linenum"> 2166</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
<span class="linenum"> 2167</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 2168</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2169</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_TILT )
<span class="linenum"> 2170</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2171</span>&nbsp;&nbsp;
<span class="linenum"> 2172</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2173</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2174</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2175</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2176</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2177</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2178</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2179</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2180</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
<span class="linenum"> 2181</span>&nbsp;&nbsp;
<span class="linenum"> 2182</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2183</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
<span class="linenum"> 2184</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
<span class="linenum"> 2185</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
<span class="linenum"> 2186</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 2187</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 2188</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 2189</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"2"</span> )
<span class="linenum"> 2190</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 2191</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"4"</span> )
<span class="linenum"> 2192</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"5"</span> )
<span class="linenum"> 2193</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2194</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"75000"</span> )
<span class="linenum"> 2195</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"100000"</span> )
<span class="linenum"> 2196</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"125000"</span> )
<span class="linenum"> 2197</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"150000"</span> )
<span class="linenum"> 2198</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
<span class="linenum"> 2199</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
<span class="linenum"> 2200</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 2201</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2202</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2203</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2204</span>&nbsp;&nbsp;
<span class="linenum"> 2205</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2206</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2207</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2208</span>&nbsp;&nbsp;
<span class="linenum"> 2209</span>&nbsp;&nbsp;
<span class="linenum"> 2210</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( theglobp )
<span class="linenum"> 2211</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2212</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2213</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2214</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2215</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2216</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2217</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2218</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2219</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
<span class="linenum"> 2220</span>&nbsp;&nbsp;
<span class="linenum"> 2221</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2222</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2223</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2224</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2225</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2226</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 2227</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) <span class="comment">// and start1</span>
<span class="linenum"> 2228</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) <span class="comment">// and start2</span>
<span class="linenum"> 2229</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
<span class="linenum"> 2230</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
<span class="linenum"> 2231</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2232</span>&nbsp;&nbsp;
<span class="linenum"> 2233</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2234</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
<span class="linenum"> 2235</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, <span class="string">"3"</span> )
<span class="linenum"> 2236</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, <span class="string">"4"</span> )
<span class="linenum"> 2237</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, <span class="string">"5"</span> )
<span class="linenum"> 2238</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"6"</span> )
<span class="linenum"> 2239</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Difficulty ) )
<span class="linenum"> 2240</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x1c, DEF_STR( Easiest ) )
<span class="linenum"> 2241</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x18, DEF_STR( Very_Easy) )
<span class="linenum"> 2242</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x14, DEF_STR( Easy ) )
<span class="linenum"> 2243</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
<span class="linenum"> 2244</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, DEF_STR( Difficult ) )
<span class="linenum"> 2245</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( Very_Difficult ) )
<span class="linenum"> 2246</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( Very_Hard ) )
<span class="linenum"> 2247</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
<span class="linenum"> 2248</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
<span class="linenum"> 2249</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 2250</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2251</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
<span class="linenum"> 2252</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
<span class="linenum"> 2253</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2254</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2255</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2256</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2257</span>&nbsp;&nbsp;
<span class="linenum"> 2258</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2259</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2260</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2261</span>&nbsp;&nbsp;
<span class="linenum"> 2262</span>&nbsp;&nbsp;
<span class="linenum"> 2263</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( vanvan )
<span class="linenum"> 2264</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2265</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2266</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2267</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2268</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2269</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2270</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2271</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2272</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2273</span>&nbsp;&nbsp;
<span class="linenum"> 2274</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2275</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2276</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2277</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2278</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2279</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 2280</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2281</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2282</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2283</span>&nbsp;&nbsp;
<span class="linenum"> 2284</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2285</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
<span class="linenum"> 2286</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 2287</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
<span class="linenum"> 2288</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
<span class="linenum"> 2289</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
<span class="linenum"> 2290</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2291</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2292</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"20k and 100k"</span> )
<span class="linenum"> 2293</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"40k and 140k"</span> )
<span class="linenum"> 2294</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"70k and 200k"</span> )
<span class="linenum"> 2295</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, DEF_STR( None ) )
<span class="linenum"> 2296</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
<span class="linenum"> 2297</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"3"</span> )
<span class="linenum"> 2298</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"4"</span> )
<span class="linenum"> 2299</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"5"</span> )
<span class="linenum"> 2300</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"6"</span> )
<span class="linenum"> 2301</span>&nbsp;&nbsp;    PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coinage ) )
<span class="linenum"> 2302</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
<span class="linenum"> 2303</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
<span class="linenum"> 2304</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
<span class="linenum"> 2305</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
<span class="linenum"> 2306</span>&nbsp;&nbsp;
<span class="linenum"> 2307</span>&nbsp;&nbsp;    <span class="comment">/* When all DSW2 are ON, there is no sprite collision detection */</span>
<span class="linenum"> 2308</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2309</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2310</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2311</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( On ) )
<span class="linenum"> 2312</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x00, <span class="string">"Invulnerability (Cheat)"</span> ) PORT_CODE(KEYCODE_F1)
<span class="linenum"> 2313</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2314</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( On ) )
<span class="linenum"> 2315</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2316</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2317</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( On ) )
<span class="linenum"> 2318</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )      <span class="comment">/* Missile effect */</span>
<span class="linenum"> 2319</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )      <span class="comment">/* Killer car is destroyed */</span>
<span class="linenum"> 2320</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( On ) )           <span class="comment">/* Killer car is not destroyed */</span>
<span class="linenum"> 2321</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2322</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2323</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( On ) )
<span class="linenum"> 2324</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2325</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2326</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( On ) )
<span class="linenum"> 2327</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2328</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2329</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( On ) )
<span class="linenum"> 2330</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2331</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2332</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( On ) )
<span class="linenum"> 2333</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2334</span>&nbsp;&nbsp;
<span class="linenum"> 2335</span>&nbsp;&nbsp;
<span class="linenum"> 2336</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( vanvank )
<span class="linenum"> 2337</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2338</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2339</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2340</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2341</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2342</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2343</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2344</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2345</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2346</span>&nbsp;&nbsp;
<span class="linenum"> 2347</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2348</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2349</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2350</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2351</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2352</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 2353</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2354</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2355</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2356</span>&nbsp;&nbsp;
<span class="linenum"> 2357</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2358</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
<span class="linenum"> 2359</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 2360</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
<span class="linenum"> 2361</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
<span class="linenum"> 2362</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
<span class="linenum"> 2363</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2364</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2365</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"20k and 100k"</span> )
<span class="linenum"> 2366</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"40k and 140k"</span> )
<span class="linenum"> 2367</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"70k and 200k"</span> )
<span class="linenum"> 2368</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, DEF_STR( None ) )
<span class="linenum"> 2369</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
<span class="linenum"> 2370</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"3"</span> )
<span class="linenum"> 2371</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"4"</span> )
<span class="linenum"> 2372</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"5"</span> )
<span class="linenum"> 2373</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"6"</span> )
<span class="linenum"> 2374</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Coin_A ) )
<span class="linenum"> 2375</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
<span class="linenum"> 2376</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( 1C_1C ) )
<span class="linenum"> 2377</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Coin_B ) )
<span class="linenum"> 2378</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
<span class="linenum"> 2379</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( 1C_3C ) )
<span class="linenum"> 2380</span>&nbsp;&nbsp;
<span class="linenum"> 2381</span>&nbsp;&nbsp;    <span class="comment">/* When all DSW2 are ON, there is no sprite collision detection */</span>
<span class="linenum"> 2382</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2383</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2384</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2385</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( On ) )
<span class="linenum"> 2386</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x00, <span class="string">"Invulnerability (Cheat)"</span> )
<span class="linenum"> 2387</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2388</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( On ) )
<span class="linenum"> 2389</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2390</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2391</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( On ) )
<span class="linenum"> 2392</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )      <span class="comment">/* Missile effect */</span>
<span class="linenum"> 2393</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )      <span class="comment">/* Killer car is destroyed */</span>
<span class="linenum"> 2394</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( On ) )           <span class="comment">/* Killer car is not destroyed */</span>
<span class="linenum"> 2395</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2396</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2397</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( On ) )
<span class="linenum"> 2398</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2399</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2400</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( On ) )
<span class="linenum"> 2401</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2402</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2403</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( On ) )
<span class="linenum"> 2404</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2405</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2406</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( On ) )
<span class="linenum"> 2407</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2408</span>&nbsp;&nbsp;
<span class="linenum"> 2409</span>&nbsp;&nbsp;
<span class="linenum"> 2410</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( dremshpr )
<span class="linenum"> 2411</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2412</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2413</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2414</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2415</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2416</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2417</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2418</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2419</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2420</span>&nbsp;&nbsp;
<span class="linenum"> 2421</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2422</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2423</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2424</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2425</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2426</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 2427</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2428</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2429</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2430</span>&nbsp;&nbsp;
<span class="linenum"> 2431</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2432</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )
<span class="linenum"> 2433</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( Upright ) )
<span class="linenum"> 2434</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2435</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
<span class="linenum"> 2436</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
<span class="linenum"> 2437</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2438</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2439</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"30000"</span> )
<span class="linenum"> 2440</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"50000"</span> )
<span class="linenum"> 2441</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"70000"</span> )
<span class="linenum"> 2442</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, DEF_STR( None ) )
<span class="linenum"> 2443</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
<span class="linenum"> 2444</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"3"</span> )
<span class="linenum"> 2445</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"4"</span> )
<span class="linenum"> 2446</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"5"</span> )
<span class="linenum"> 2447</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"6"</span> )
<span class="linenum"> 2448</span>&nbsp;&nbsp;    PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coinage ) )
<span class="linenum"> 2449</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
<span class="linenum"> 2450</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
<span class="linenum"> 2451</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
<span class="linenum"> 2452</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
<span class="linenum"> 2453</span>&nbsp;&nbsp;
<span class="linenum"> 2454</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2455</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00,<span class="string">"Invulnerability (Cheat)"</span>)     <span class="comment">/* turning this on crashes the emulated machine in an infinite loop once in a while */</span>
<span class="linenum"> 2456</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2457</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( On ) )
<span class="linenum"> 2458</span>&nbsp;&nbsp;    PORT_BIT( 0xfe, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2459</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2460</span>&nbsp;&nbsp;
<span class="linenum"> 2461</span>&nbsp;&nbsp;
<span class="linenum"> 2462</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( alibaba )
<span class="linenum"> 2463</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2464</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2465</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2466</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2467</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2468</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"Rack Test (Cheat)"</span> ) PORT_CODE(KEYCODE_F1)
<span class="linenum"> 2469</span>&nbsp;&nbsp;    PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
<span class="linenum"> 2470</span>&nbsp;&nbsp;    PORT_DIPSETTING( 0x00, DEF_STR( On ) )
<span class="linenum"> 2471</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2472</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2473</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2474</span>&nbsp;&nbsp;
<span class="linenum"> 2475</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2476</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2477</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2478</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2479</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2480</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 2481</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2482</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2483</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
<span class="linenum"> 2484</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
<span class="linenum"> 2485</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2486</span>&nbsp;&nbsp;
<span class="linenum"> 2487</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2488</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 2489</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 2490</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 2491</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 2492</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 2493</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 2494</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 2495</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 2496</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 2497</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"5"</span> )
<span class="linenum"> 2498</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2499</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"10000"</span> )
<span class="linenum"> 2500</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"15000"</span> )
<span class="linenum"> 2501</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"20000"</span> )
<span class="linenum"> 2502</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, DEF_STR( None ) )
<span class="linenum"> 2503</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
<span class="linenum"> 2504</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
<span class="linenum"> 2505</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 2506</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2507</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off) )
<span class="linenum"> 2508</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2509</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2510</span>&nbsp;&nbsp;
<span class="linenum"> 2511</span>&nbsp;&nbsp;
<span class="linenum"> 2512</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( jumpshot )
<span class="linenum"> 2513</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2514</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY
<span class="linenum"> 2515</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY
<span class="linenum"> 2516</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
<span class="linenum"> 2517</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
<span class="linenum"> 2518</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
<span class="linenum"> 2519</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 2520</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2521</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2522</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2523</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2524</span>&nbsp;&nbsp;
<span class="linenum"> 2525</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2526</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2527</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2528</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2529</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2530</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 2531</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2532</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1  ) PORT_PLAYER(2)
<span class="linenum"> 2533</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2534</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2535</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2536</span>&nbsp;&nbsp;
<span class="linenum"> 2537</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2538</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, <span class="string">"Time"</span>  )
<span class="linenum"> 2539</span>&nbsp;&nbsp;<span class="comment">//  PORT_DIPSETTING(    0x00,  "2 Minutes"  )</span>
<span class="linenum"> 2540</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02,  <span class="string">"2 Minutes"</span> )
<span class="linenum"> 2541</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03,  <span class="string">"3 Minutes"</span> )
<span class="linenum"> 2542</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01,  <span class="string">"4 Minutes"</span>  )
<span class="linenum"> 2543</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x04, <span class="string">"Player 1 Skin Tone"</span> )
<span class="linenum"> 2544</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"Lighter"</span> )
<span class="linenum"> 2545</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"Darker"</span> )
<span class="linenum"> 2546</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x08, <span class="string">"Player 2 Skin Tone"</span> )
<span class="linenum"> 2547</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"Lighter"</span> )
<span class="linenum"> 2548</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"Darker"</span> )
<span class="linenum"> 2549</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) )
<span class="linenum"> 2550</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 2551</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2552</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, <span class="string">"2 Players Game"</span> )
<span class="linenum"> 2553</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"1 Credit"</span> )
<span class="linenum"> 2554</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"2 Credits"</span> )
<span class="linenum"> 2555</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
<span class="linenum"> 2556</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
<span class="linenum"> 2557</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2558</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2559</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off) )
<span class="linenum"> 2560</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2561</span>&nbsp;&nbsp;
<span class="linenum"> 2562</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2563</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2564</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2565</span>&nbsp;&nbsp;
<span class="linenum"> 2566</span>&nbsp;&nbsp;
<span class="linenum"> 2567</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( jumpshotp )
<span class="linenum"> 2568</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2569</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY
<span class="linenum"> 2570</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY
<span class="linenum"> 2571</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
<span class="linenum"> 2572</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
<span class="linenum"> 2573</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
<span class="linenum"> 2574</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 2575</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2576</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2577</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2578</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2579</span>&nbsp;&nbsp;
<span class="linenum"> 2580</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2581</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2582</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2583</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2584</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
<span class="linenum"> 2585</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 2586</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2587</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1  ) PORT_PLAYER(2)
<span class="linenum"> 2588</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2589</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2590</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2591</span>&nbsp;&nbsp;
<span class="linenum"> 2592</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2593</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, <span class="string">"Time Limit"</span>  )
<span class="linenum"> 2594</span>&nbsp;&nbsp;<span class="comment">//  PORT_DIPSETTING(    0x00,  "Short"  )</span>
<span class="linenum"> 2595</span>nbsp;&nbsp;    PORT_DIPSETTING(    0x02,  <span class="string">"Short"</span> )
<span class="linenum"> 2596</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03,  <span class="string">"Average"</span> )
<span class="linenum"> 2597</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01,  <span class="string">"Above Average"</span>   )
<span class="linenum"> 2598</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ))
<span class="linenum"> 2599</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( Off ))
<span class="linenum"> 2600</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2601</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x08, <span class="string">"Players Skin Tone"</span> )
<span class="linenum"> 2602</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"Lighter"</span> )
<span class="linenum"> 2603</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"Darker"</span> )
<span class="linenum"> 2604</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) )
<span class="linenum"> 2605</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 2606</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2607</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, <span class="string">"2 Players Game"</span> )
<span class="linenum"> 2608</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"1 Credit"</span> )
<span class="linenum"> 2609</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"2 Credits"</span> )
<span class="linenum"> 2610</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
<span class="linenum"> 2611</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
<span class="linenum"> 2612</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2613</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2614</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off) )
<span class="linenum"> 2615</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2616</span>&nbsp;&nbsp;
<span class="linenum"> 2617</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2618</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2619</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2620</span>&nbsp;&nbsp;
<span class="linenum"> 2621</span>&nbsp;&nbsp;
<span class="linenum"> 2622</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( shootbul )
<span class="linenum"> 2623</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2624</span>&nbsp;&nbsp;    PORT_BIT( 0x0f, 0x00, IPT_TRACKBALL_X  ) PORT_SENSITIVITY(50) PORT_KEYDELTA(25)
<span class="linenum"> 2625</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2626</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2627</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 )
<span class="linenum"> 2628</span>&nbsp;&nbsp;
<span class="linenum"> 2629</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2630</span>&nbsp;&nbsp;    PORT_BIT( 0x0f, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(50) PORT_KEYDELTA(25) PORT_REVERSE
<span class="linenum"> 2631</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 2632</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2633</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2634</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2635</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2636</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2637</span>&nbsp;&nbsp;
<span class="linenum"> 2638</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2639</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x07, 0x07, <span class="string">"Time"</span>  )
<span class="linenum"> 2640</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, <span class="string">"Short"</span>)
<span class="linenum"> 2641</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x07, <span class="string">"Average"</span> )
<span class="linenum"> 2642</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, <span class="string">"Long"</span> )
<span class="linenum"> 2643</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x05, <span class="string">"Longer"</span> )
<span class="linenum"> 2644</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x06, <span class="string">"Longest"</span> )
<span class="linenum"> 2645</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x08, <span class="string">"Title Page Sounds"</span>  )
<span class="linenum"> 2646</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2647</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( On ) )
<span class="linenum"> 2648</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
<span class="linenum"> 2649</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 2650</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2651</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ))
<span class="linenum"> 2652</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 2653</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2654</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ))
<span class="linenum"> 2655</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
<span class="linenum"> 2656</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2657</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2658</span>&nbsp;&nbsp;
<span class="linenum"> 2659</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2660</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2661</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2662</span>&nbsp;&nbsp;
<span class="linenum"> 2663</span>&nbsp;&nbsp;<span class="comment">/* New Atlantic City Action / Board Walk Casino Inputs
<span class="linenum"> 2664</span>&nbsp;&nbsp;   Annoyingly enough, you can't get into service mode on bwcasino if the
<span class="linenum"> 2665</span>&nbsp;&nbsp;   cocktail mode is set. To test player 2's inputs, select Upright Mode on
<span class="linenum"> 2666</span>&nbsp;&nbsp;   the dipswitches, and enter test mode. Now select cocktail mode and you
<span class="linenum"> 2667</span>&nbsp;&nbsp;   can test everything. Weird. */</span>
<span class="linenum"> 2668</span>&nbsp;&nbsp;
<span class="linenum"> 2669</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( bwcasino )
<span class="linenum"> 2670</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2671</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2672</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
<span class="linenum"> 2673</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 )
<span class="linenum"> 2674</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 )
<span class="linenum"> 2675</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2676</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2677</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2678</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_COCKTAIL PORT_PLAYER(2)
<span class="linenum"> 2679</span>&nbsp;&nbsp;
<span class="linenum"> 2680</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2681</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_PLAYER(2)
<span class="linenum"> 2682</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_PLAYER(2)
<span class="linenum"> 2683</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_COCKTAIL PORT_PLAYER(2)
<span class="linenum"> 2684</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_COCKTAIL PORT_PLAYER(2)
<span class="linenum"> 2685</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_COCKTAIL PORT_PLAYER(2)
<span class="linenum"> 2686</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 )
<span class="linenum"> 2687</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON6 )
<span class="linenum"> 2688</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
<span class="linenum"> 2689</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
<span class="linenum"> 2690</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2691</span>&nbsp;&nbsp;
<span class="linenum"> 2692</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2693</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
<span class="linenum"> 2694</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
<span class="linenum"> 2695</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2696</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x1e, 0x1e, <span class="string">"Hands per Game"</span> )
<span class="linenum"> 2697</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x1e, <span class="string">"3"</span> )
<span class="linenum"> 2698</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x1c, <span class="string">"4"</span> )
<span class="linenum"> 2699</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x1a, <span class="string">"5"</span> )
<span class="linenum"> 2700</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x18, <span class="string">"6"</span> )
<span class="linenum"> 2701</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x16, <span class="string">"7"</span> )
<span class="linenum"> 2702</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x14, <span class="string">"8"</span> )
<span class="linenum"> 2703</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x12, <span class="string">"9"</span> )
<span class="linenum"> 2704</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"10"</span> )
<span class="linenum"> 2705</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0e, <span class="string">"11"</span> )
<span class="linenum"> 2706</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"12"</span> )
<span class="linenum"> 2707</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0a, <span class="string">"13"</span> )
<span class="linenum"> 2708</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"14"</span> )
<span class="linenum"> 2709</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x06, <span class="string">"15"</span> )
<span class="linenum"> 2710</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"16"</span> )
<span class="linenum"> 2711</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, <span class="string">"17"</span> )
<span class="linenum"> 2712</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"18"</span> )
<span class="linenum"> 2713</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
<span class="linenum"> 2714</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
<span class="linenum"> 2715</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2716</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
<span class="linenum"> 2717</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
<span class="linenum"> 2718</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2719</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2720</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2721</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2722</span>&nbsp;&nbsp;
<span class="linenum"> 2723</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2724</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2725</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2726</span>&nbsp;&nbsp;
<span class="linenum"> 2727</span>&nbsp;&nbsp;<span class="comment">/* ATLANTIC CITY ACTION (acitya)
<span class="linenum"> 2728</span>&nbsp;&nbsp;   Unlike "Boardwalk Casino", "Atlantic City Action" does not appear to
<span class="linenum"> 2729</span>&nbsp;&nbsp;   have a cocktail mode, and uses service button connected differently to
<span class="linenum"> 2730</span>&nbsp;&nbsp;   "Boardwalk" */</span>
<span class="linenum"> 2731</span>&nbsp;&nbsp;
<span class="linenum"> 2732</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( acitya )
<span class="linenum"> 2733</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2734</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2735</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
<span class="linenum"> 2736</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 )
<span class="linenum"> 2737</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 )
<span class="linenum"> 2738</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2739</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2740</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2741</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2742</span>&nbsp;&nbsp;
<span class="linenum"> 2743</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2744</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2745</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2746</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2747</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2748</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2749</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 )
<span class="linenum"> 2750</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON6 )
<span class="linenum"> 2751</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
<span class="linenum"> 2752</span>&nbsp;&nbsp;
<span class="linenum"> 2753</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)  <span class="comment">/* Test mode shows 6 selection DIP */</span>
<span class="linenum"> 2754</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) )  PORT_DIPLOCATION(<span class="string">"DSW1:1"</span>)
<span class="linenum"> 2755</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
<span class="linenum"> 2756</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2757</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x1e, 0x1e, <span class="string">"Hands per Game"</span> )        PORT_DIPLOCATION(<span class="string">"DSW1:2,3,4,5"</span>)
<span class="linenum"> 2758</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x1e, <span class="string">"3"</span> )
<span class="linenum"> 2759</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x1c, <span class="string">"4"</span> )
<span class="linenum"> 2760</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x1a, <span class="string">"5"</span> )
<span class="linenum"> 2761</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x18, <span class="string">"6"</span> )
<span class="linenum"> 2762</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x16, <span class="string">"7"</span> )
<span class="linenum"> 2763</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x14, <span class="string">"8"</span> )
<span class="linenum"> 2764</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x12, <span class="string">"9"</span> )
<span class="linenum"> 2765</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"10"</span> )
<span class="linenum"> 2766</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0e, <span class="string">"11"</span> )
<span class="linenum"> 2767</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"12"</span> )
<span class="linenum"> 2768</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0a, <span class="string">"13"</span> )
<span class="linenum"> 2769</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"14"</span> )
<span class="linenum"> 2770</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x06, <span class="string">"15"</span> )
<span class="linenum"> 2771</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"16"</span> )
<span class="linenum"> 2772</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, <span class="string">"17"</span> )
<span class="linenum"> 2773</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"18"</span> )
<span class="linenum"> 2774</span>&nbsp;&nbsp;    PORT_DIPUNKNOWN_DIPLOC(0x20, IP_ACTIVE_LOW, <span class="string">"DSW1:6"</span>)
<span class="linenum"> 2775</span>&nbsp;&nbsp;
<span class="linenum"> 2776</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2777</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2778</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2779</span>&nbsp;&nbsp;
<span class="linenum"> 2780</span>&nbsp;&nbsp;
<span class="linenum"> 2781</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( nmouse )
<span class="linenum"> 2782</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2783</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2784</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2785</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2786</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2787</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"Rack Test (Cheat)"</span> ) PORT_CODE(KEYCODE_F1)
<span class="linenum"> 2788</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 2789</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2790</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2791</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2792</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2793</span>&nbsp;&nbsp;
<span class="linenum"> 2794</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2795</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2796</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2797</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2798</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2799</span>&nbsp;&nbsp;    PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
<span class="linenum"> 2800</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2801</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2802</span>&nbsp;&nbsp;    PORT_DIPNAME(0x80, 0x80, DEF_STR( Cabinet ) )
<span class="linenum"> 2803</span>&nbsp;&nbsp;    PORT_DIPSETTING(   0x80, DEF_STR( Upright ) )
<span class="linenum"> 2804</span>&nbsp;&nbsp;    PORT_DIPSETTING(   0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2805</span>&nbsp;&nbsp;
<span class="linenum"> 2806</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2807</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 2808</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 2809</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 2810</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 2811</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 2812</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 2813</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 2814</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 2815</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 2816</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"5"</span> )
<span class="linenum"> 2817</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2818</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"5000"</span> )
<span class="linenum"> 2819</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"10000"</span> )
<span class="linenum"> 2820</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"15000"</span> )
<span class="linenum"> 2821</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, DEF_STR( None ) )
<span class="linenum"> 2822</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
<span class="linenum"> 2823</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
<span class="linenum"> 2824</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
<span class="linenum"> 2825</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
<span class="linenum"> 2826</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 2827</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2828</span>&nbsp;&nbsp;
<span class="linenum"> 2829</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2830</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2831</span>&nbsp;&nbsp;
<span class="linenum"> 2832</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2833</span>&nbsp;&nbsp;
<span class="linenum"> 2834</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( woodpek )
<span class="linenum"> 2835</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2836</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2837</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2838</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2839</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2840</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"Rack Test (Cheat)"</span> ) PORT_CODE(KEYCODE_F1)
<span class="linenum"> 2841</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
<span class="linenum"> 2842</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 2843</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2844</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2845</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2846</span>&nbsp;&nbsp;
<span class="linenum"> 2847</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2848</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2849</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2850</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2851</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2852</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2853</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 2854</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 2855</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 2856</span>&nbsp;&nbsp;
<span class="linenum"> 2857</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2858</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
<span class="linenum"> 2859</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
<span class="linenum"> 2860</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
<span class="linenum"> 2861</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 2862</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 2863</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
<span class="linenum"> 2864</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"1"</span> )
<span class="linenum"> 2865</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"2"</span> )
<span class="linenum"> 2866</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"3"</span> )
<span class="linenum"> 2867</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"5"</span> )
<span class="linenum"> 2868</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
<span class="linenum"> 2869</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"5000"</span> )
<span class="linenum"> 2870</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"10000"</span> )
<span class="linenum"> 2871</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"15000"</span> )
<span class="linenum"> 2872</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, DEF_STR( None ) )
<span class="linenum"> 2873</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
<span class="linenum"> 2874</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
<span class="linenum"> 2875</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2876</span>&nbsp;&nbsp;    PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
<span class="linenum"> 2877</span>&nbsp;&nbsp;
<span class="linenum"> 2878</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2879</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2880</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2881</span>&nbsp;&nbsp;
<span class="linenum"> 2882</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( bigbucks )
<span class="linenum"> 2883</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2884</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP   ) PORT_4WAY
<span class="linenum"> 2885</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2886</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2887</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2888</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, <span class="string">"Enable Category Adult Affairs"</span> )
<span class="linenum"> 2889</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2890</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( On ) )
<span class="linenum"> 2891</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2892</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2893</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2894</span>&nbsp;&nbsp;
<span class="linenum"> 2895</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2896</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2897</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2898</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2899</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 2900</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2901</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2902</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2903</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2904</span>&nbsp;&nbsp;
<span class="linenum"> 2905</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 2906</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, <span class="string">"Time to bet / answer"</span> )
<span class="linenum"> 2907</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"15 sec. / 10 sec."</span> )
<span class="linenum"> 2908</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, <span class="string">"20 sec. / 15 sec."</span> )
<span class="linenum"> 2909</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x00, <span class="string">"Continue if player busts"</span> )
<span class="linenum"> 2910</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2911</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( On ) )
<span class="linenum"> 2912</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x04, <span class="string">"Show correct answer"</span> )
<span class="linenum"> 2913</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2914</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( On ) )
<span class="linenum"> 2915</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
<span class="linenum"> 2916</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2917</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( On ) )
<span class="linenum"> 2918</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Coinage ) )
<span class="linenum"> 2919</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
<span class="linenum"> 2920</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( 1C_1C ) )
<span class="linenum"> 2921</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
<span class="linenum"> 2922</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
<span class="linenum"> 2923</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 2924</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2925</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2926</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( On ) )
<span class="linenum"> 2927</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2928</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2929</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( On ) )
<span class="linenum"> 2930</span>&nbsp;&nbsp;
<span class="linenum"> 2931</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 2932</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 2933</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2934</span>&nbsp;&nbsp;
<span class="linenum"> 2935</span>&nbsp;&nbsp;
<span class="linenum"> 2936</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( drivfrcp )
<span class="linenum"> 2937</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2938</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2939</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY
<span class="linenum"> 2940</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_2WAY
<span class="linenum"> 2941</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2942</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2943</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2944</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2945</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2946</span>&nbsp;&nbsp;
<span class="linenum"> 2947</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 2948</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2949</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2950</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2951</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2952</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2953</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 2954</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
<span class="linenum"> 2955</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2956</span>&nbsp;&nbsp;
<span class="linenum"> 2957</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW0"</span>)
<span class="linenum"> 2958</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2959</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2960</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( On ) )
<span class="linenum"> 2961</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2962</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2963</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( On ) )
<span class="linenum"> 2964</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2965</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2966</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( On ) )
<span class="linenum"> 2967</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2968</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2969</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( On ) )
<span class="linenum"> 2970</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2971</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2972</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( On ) )
<span class="linenum"> 2973</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2974</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2975</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( On ) )
<span class="linenum"> 2976</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2977</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2978</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( On ) )
<span class="linenum"> 2979</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 2980</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 2981</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( On ) )
<span class="linenum"> 2982</span>&nbsp;&nbsp;
<span class="linenum"> 2983</span>&nbsp;&nbsp;    PORT_START(<span class="string">"SENSE"</span>)
<span class="linenum"> 2984</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK(<span class="string">"screen"</span>)
<span class="linenum"> 2985</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 2986</span>&nbsp;&nbsp;
<span class="linenum"> 2987</span>&nbsp;&nbsp;
<span class="linenum"> 2988</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( 8bpm )
<span class="linenum"> 2989</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 2990</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
<span class="linenum"> 2991</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 2992</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 2993</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 2994</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 2995</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 2996</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 2997</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 2998</span>&nbsp;&nbsp;
<span class="linenum"> 2999</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 3000</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 3001</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 3002</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 3003</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 3004</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 3005</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME(<span class="string">"Start 1 / P1 Button 1"</span>)
<span class="linenum"> 3006</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME(<span class="string">"Start 2 / P1 Button 1"</span>)
<span class="linenum"> 3007</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3008</span>&nbsp;&nbsp;
<span class="linenum"> 3009</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW0"</span>)
<span class="linenum"> 3010</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
<span class="linenum"> 3011</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 3012</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
<span class="linenum"> 3013</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3014</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3015</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( On ) )
<span class="linenum"> 3016</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3017</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3018</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( On ) )
<span class="linenum"> 3019</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3020</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3021</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( On ) )
<span class="linenum"> 3022</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3023</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3024</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( On ) )
<span class="linenum"> 3025</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3026</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3027</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( On ) )
<span class="linenum"> 3028</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3029</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3030</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( On ) )
<span class="linenum"> 3031</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3032</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3033</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( On ) )
<span class="linenum"> 3034</span>&nbsp;&nbsp;
<span class="linenum"> 3035</span>&nbsp;&nbsp;    PORT_START(<span class="string">"SENSE"</span>)
<span class="linenum"> 3036</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK(<span class="string">"screen"</span>)
<span class="linenum"> 3037</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 3038</span>&nbsp;&nbsp;
<span class="linenum"> 3039</span>&nbsp;&nbsp;
<span class="linenum"> 3040</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( porky )
<span class="linenum"> 3041</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 3042</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 3043</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY
<span class="linenum"> 3044</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_2WAY
<span class="linenum"> 3045</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 )
<span class="linenum"> 3046</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3047</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 3048</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 3049</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
<span class="linenum"> 3050</span>&nbsp;&nbsp;
<span class="linenum"> 3051</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 3052</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 3053</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_COCKTAIL
<span class="linenum"> 3054</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_COCKTAIL
<span class="linenum"> 3055</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
<span class="linenum"> 3056</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3057</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 3058</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 3059</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3060</span>&nbsp;&nbsp;
<span class="linenum"> 3061</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW0"</span>)
<span class="linenum"> 3062</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
<span class="linenum"> 3063</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
<span class="linenum"> 3064</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
<span class="linenum"> 3065</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3066</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3067</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( On ) )
<span class="linenum"> 3068</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3069</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3070</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( On ) )
<span class="linenum"> 3071</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3072</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3073</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, DEF_STR( On ) )
<span class="linenum"> 3074</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3075</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3076</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, DEF_STR( On ) )
<span class="linenum"> 3077</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3078</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3079</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, DEF_STR( On ) )
<span class="linenum"> 3080</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3081</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3082</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, DEF_STR( On ) )
<span class="linenum"> 3083</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
<span class="linenum"> 3084</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3085</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( On ) )
<span class="linenum"> 3086</span>&nbsp;&nbsp;
<span class="linenum"> 3087</span>&nbsp;&nbsp;    PORT_START(<span class="string">"SENSE"</span>)
<span class="linenum"> 3088</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK(<span class="string">"screen"</span>)
<span class="linenum"> 3089</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 3090</span>&nbsp;&nbsp;
<span class="linenum"> 3091</span>&nbsp;&nbsp;
<span class="linenum"> 3092</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( rocktrv2 )
<span class="linenum"> 3093</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 3094</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP   ) PORT_4WAY
<span class="linenum"> 3095</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
<span class="linenum"> 3096</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 3097</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
<span class="linenum"> 3098</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3099</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 3100</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 3101</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_TILT )
<span class="linenum"> 3102</span>&nbsp;&nbsp;
<span class="linenum"> 3103</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 3104</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_PLAYER(2)
<span class="linenum"> 3105</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_PLAYER(2)
<span class="linenum"> 3106</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_PLAYER(2)
<span class="linenum"> 3107</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_PLAYER(2)
<span class="linenum"> 3108</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3109</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
<span class="linenum"> 3110</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
<span class="linenum"> 3111</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3112</span>&nbsp;&nbsp;
<span class="linenum"> 3113</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 3114</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
<span class="linenum"> 3115</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
<span class="linenum"> 3116</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
<span class="linenum"> 3117</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
<span class="linenum"> 3118</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
<span class="linenum"> 3119</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x1c, 0x10, <span class="string">"Questions Per Game"</span> )
<span class="linenum"> 3120</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x1c, <span class="string">"2"</span> )
<span class="linenum"> 3121</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x18, <span class="string">"3"</span> )
<span class="linenum"> 3122</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x14, <span class="string">"4"</span> )
<span class="linenum"> 3123</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"5"</span> )
<span class="linenum"> 3124</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x0c, <span class="string">"6"</span> )
<span class="linenum"> 3125</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"7"</span> )
<span class="linenum"> 3126</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"8"</span> )
<span class="linenum"> 3127</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"9"</span> )
<span class="linenum"> 3128</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x60, 0x60, <span class="string">"Clock Speed"</span> )
<span class="linenum"> 3129</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x60, <span class="string">"Beginner"</span> )
<span class="linenum"> 3130</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, <span class="string">"Intermed"</span> )
<span class="linenum"> 3131</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"Pro"</span> )
<span class="linenum"> 3132</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"Super - Pro"</span> )
<span class="linenum"> 3133</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80,<span class="string">"Freeze Image"</span> )
<span class="linenum"> 3134</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
<span class="linenum"> 3135</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
<span class="linenum"> 3136</span>&nbsp;&nbsp;
<span class="linenum"> 3137</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 3138</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x01, 0x01, <span class="string">"Mode"</span> )
<span class="linenum"> 3139</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, <span class="string">"Amusement"</span> )
<span class="linenum"> 3140</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"Credit"</span> )
<span class="linenum"> 3141</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x02, 0x02, DEF_STR( Cabinet ) )
<span class="linenum"> 3142</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, DEF_STR( Upright ) )
<span class="linenum"> 3143</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 3144</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x04, <span class="string">"K.O. Switch"</span> )
<span class="linenum"> 3145</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, <span class="string">"Auto"</span> )
<span class="linenum"> 3146</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"Manual"</span> )
<span class="linenum"> 3147</span>&nbsp;&nbsp;    PORT_SERVICE( 0x08, IP_ACTIVE_LOW )
<span class="linenum"> 3148</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x70, 0x70, DEF_STR( Bonus_Life ) )
<span class="linenum"> 3149</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x70, <span class="string">"10000"</span> )
<span class="linenum"> 3150</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x60, <span class="string">"17500"</span> )
<span class="linenum"> 3151</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x50, <span class="string">"25000"</span> )
<span class="linenum"> 3152</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x40, <span class="string">"32500"</span> )
<span class="linenum"> 3153</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x30, <span class="string">"40000"</span> )
<span class="linenum"> 3154</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x20, <span class="string">"47500"</span> )
<span class="linenum"> 3155</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"55000"</span> )
<span class="linenum"> 3156</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"62500"</span> )
<span class="linenum"> 3157</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x80, 0x80, <span class="string">"Music"</span> )
<span class="linenum"> 3158</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
<span class="linenum"> 3159</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x80, DEF_STR( On ) )
<span class="linenum"> 3160</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 3161</span>&nbsp;&nbsp;
<span class="linenum"> 3162</span>&nbsp;&nbsp;<span class="keyword">static</span> INPUT_PORTS_START( cannonbp )
<span class="linenum"> 3163</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN0"</span>)
<span class="linenum"> 3164</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )    PORT_4WAY
<span class="linenum"> 3165</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )  PORT_4WAY
<span class="linenum"> 3166</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
<span class="linenum"> 3167</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )  PORT_4WAY
<span class="linenum"> 3168</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3169</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
<span class="linenum"> 3170</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
<span class="linenum"> 3171</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
<span class="linenum"> 3172</span>&nbsp;&nbsp;
<span class="linenum"> 3173</span>&nbsp;&nbsp;    PORT_START(<span class="string">"IN1"</span>)
<span class="linenum"> 3174</span>&nbsp;&nbsp;    PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )    PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 3175</span>&nbsp;&nbsp;    PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )  PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 3176</span>&nbsp;&nbsp;    PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 3177</span>&nbsp;&nbsp;    PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )  PORT_4WAY PORT_COCKTAIL
<span class="linenum"> 3178</span>&nbsp;&nbsp;    PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
<span class="linenum"> 3179</span>&nbsp;&nbsp;    PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME( <span class="string">"Start"</span> )
<span class="linenum"> 3180</span>&nbsp;&nbsp;    PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 ) PORT_NAME( <span class="string">"Select"</span> )
<span class="linenum"> 3181</span>&nbsp;&nbsp;    PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
<span class="linenum"> 3182</span>&nbsp;&nbsp;
<span class="linenum"> 3183</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW1"</span>)
<span class="linenum"> 3184</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x03, 0x03, <span class="string">"Display"</span> )
<span class="linenum"> 3185</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x03, <span class="string">"Scores and Progession Bars"</span> )
<span class="linenum"> 3186</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x01, <span class="string">"Scores only"</span> )
<span class="linenum"> 3187</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x02, <span class="string">"Progession Bars only"</span> )
<span class="linenum"> 3188</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( None ) )
<span class="linenum"> 3189</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x04, 0x04, DEF_STR( Cabinet ) )
<span class="linenum"> 3190</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x04, DEF_STR( Upright ) )
<span class="linenum"> 3191</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
<span class="linenum"> 3192</span>&nbsp;&nbsp;    PORT_DIPNAME( 0x18, 0x00, DEF_STR( Lives ) )
<span class="linenum"> 3193</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x00, <span class="string">"3"</span> )
<span class="linenum"> 3194</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x08, <span class="string">"4"</span> )
<span class="linenum"> 3195</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x10, <span class="string">"5"</span> )
<span class="linenum"> 3196</span>&nbsp;&nbsp;    PORT_DIPSETTING(    0x18, <span class="string">"6"</span> )
<span class="linenum"> 3197</span>&nbsp;&nbsp;    PORT_DIPUNUSED( 0x20, IP_ACTIVE_LOW )
<span class="linenum"> 3198</span>&nbsp;&nbsp;    PORT_DIPUNUSED( 0x40, IP_ACTIVE_LOW )
<span class="linenum"> 3199</span>&nbsp;&nbsp;    PORT_DIPUNUSED( 0x80, IP_ACTIVE_LOW )
<span class="linenum"> 3200</span>&nbsp;&nbsp;
<span class="linenum"> 3201</span>&nbsp;&nbsp;    PORT_START(<span class="string">"DSW2"</span>)
<span class="linenum"> 3202</span>&nbsp;&nbsp;    PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
<span class="linenum"> 3203</span>&nbsp;&nbsp;INPUT_PORTS_END
<span class="linenum"> 3204</span>&nbsp;&nbsp;
<span class="linenum"> 3205</span>&nbsp;&nbsp;
<span class="linenum"> 3206</span>&nbsp;&nbsp;
<span class="linenum"> 3207</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum"> 3208</span>&nbsp;&nbsp; *
<span class="linenum"> 3209</span>&nbsp;&nbsp; *  Graphics layouts
<span class="linenum"> 3210</span>&nbsp;&nbsp; *
<span class="linenum"> 3211</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum"> 3212</span>&nbsp;&nbsp;
<span class="linenum"> 3213</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">const</span> gfx_layout tilelayout =
<span class="linenum"> 3214</span>&nbsp;&nbsp;{
<span class="linenum"> 3215</span>&nbsp;&nbsp;    8,8,    <span class="comment">/* 8*8 characters */</span>
<span class="linenum"> 3216</span>&nbsp;&nbsp;    RGN_FRAC(1,2),    <span class="comment">/* 256 characters */</span>
<span class="linenum"> 3217</span>&nbsp;&nbsp;    2,  <span class="comment">/* 2 bits per pixel */</span>
<span class="linenum"> 3218</span>&nbsp;&nbsp;    { 0, 4 },   <span class="comment">/* the two bitplanes for 4 pixels are packed into one byte */</span>
<span class="linenum"> 3219</span>&nbsp;&nbsp;    { 8*8+0, 8*8+1, 8*8+2, 8*8+3, 0, 1, 2, 3 }, <span class="comment">/* bits are packed in groups of four */</span>
<span class="linenum"> 3220</span>&nbsp;&nbsp;    { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
<span class="linenum"> 3221</span>&nbsp;&nbsp;    16*8    <span class="comment">/* every char takes 16 bytes */</span>
<span class="linenum"> 3222</span>&nbsp;&nbsp;};
<span class="linenum"> 3223</span>&nbsp;&nbsp;
<span class="linenum"> 3224</span>&nbsp;&nbsp;
<span class="linenum"> 3225</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">const</span> gfx_layout spritelayout =
<span class="linenum"> 3226</span>&nbsp;&nbsp;{
<span class="linenum"> 3227</span>&nbsp;&nbsp;    16,16,  <span class="comment">/* 16*16 sprites */</span>
<span class="linenum"> 3228</span>&nbsp;&nbsp;    RGN_FRAC(1,2),  <span class="comment">/* 64 sprites */</span>
<span class="linenum"> 3229</span>&nbsp;&nbsp;    2,  <span class="comment">/* 2 bits per pixel */</span>
<span class="linenum"> 3230</span>&nbsp;&nbsp;    { 0, 4 },   <span class="comment">/* the two bitplanes for 4 pixels are packed into one byte */</span>
<span class="linenum"> 3231</span>&nbsp;&nbsp;    { 8*8, 8*8+1, 8*8+2, 8*8+3, 16*8+0, 16*8+1, 16*8+2, 16*8+3,
<span class="linenum"> 3232</span>&nbsp;&nbsp;            24*8+0, 24*8+1, 24*8+2, 24*8+3, 0, 1, 2, 3 },
<span class="linenum"> 3233</span>&nbsp;&nbsp;    { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
<span class="linenum"> 3234</span>&nbsp;&nbsp;            32*8, 33*8, 34*8, 35*8, 36*8, 37*8, 38*8, 39*8 },
<span class="linenum"> 3235</span>&nbsp;&nbsp;    64*8    <span class="comment">/* every sprite takes 64 bytes */</span>
<span class="linenum"> 3236</span>&nbsp;&nbsp;};
<span class="linenum"> 3237</span>&nbsp;&nbsp;
<span class="linenum"> 3238</span>&nbsp;&nbsp;
<span class="linenum"> 3239</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">const</span> gfx_layout crush4_tilelayout =
<span class="linenum"> 3240</span>&nbsp;&nbsp;{
<span class="linenum"> 3241</span>&nbsp;&nbsp;    8,8, <span class="comment">/* 8*8 characters */</span>
<span class="linenum"> 3242</span>&nbsp;&nbsp;    RGN_FRAC(1,4),
<span class="linenum"> 3243</span>&nbsp;&nbsp;    2,  <span class="comment">/* 2 bits per pixel */</span>
<span class="linenum"> 3244</span>&nbsp;&nbsp;    { RGN_FRAC(1,2), RGN_FRAC(0,2)+4 },
<span class="linenum"> 3245</span>&nbsp;&nbsp;    { 8*8+0, 8*8+1, 8*8+2, 8*8+3, 0, 1, 2, 3 }, <span class="comment">/* bits are packed in groups of four */</span>
<span class="linenum"> 3246</span>&nbsp;&nbsp;    { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
<span class="linenum"> 3247</span>&nbsp;&nbsp;    16*8    <span class="comment">/* every char takes 16 bytes */</span>
<span class="linenum"> 3248</span>&nbsp;&nbsp;};
<span class="linenum"> 3249</span>&nbsp;&nbsp;
<span class="linenum"> 3250</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">const</span> gfx_layout crush4_spritelayout =
<span class="linenum"> 3251</span>&nbsp;&nbsp;{
<span class="linenum"> 3252</span>&nbsp;&nbsp;    16,16, <span class="comment">/* 16*16 sprites */</span>
<span class="linenum"> 3253</span>&nbsp;&nbsp;    RGN_FRAC(1,4),
<span class="linenum"> 3254</span>&nbsp;&nbsp;    2,  <span class="comment">/* 2 bits per pixel */</span>
<span class="linenum"> 3255</span>&nbsp;&nbsp;    { RGN_FRAC(1,2), RGN_FRAC(0,2)+4 },
<span class="linenum"> 3256</span>&nbsp;&nbsp;    { 8*8, 8*8+1, 8*8+2, 8*8+3, 16*8+0, 16*8+1, 16*8+2, 16*8+3,
<span class="linenum"> 3257</span>&nbsp;&nbsp;            24*8+0, 24*8+1, 24*8+2, 24*8+3, 0, 1, 2, 3 },
<span class="linenum"> 3258</span>&nbsp;&nbsp;    { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
<span class="linenum"> 3259</span>&nbsp;&nbsp;            32*8, 33*8, 34*8, 35*8, 36*8, 37*8, 38*8, 39*8 },
<span class="linenum"> 3260</span>&nbsp;&nbsp;    64*8    <span class="comment">/* every sprite takes 64 bytes */</span>
<span class="linenum"> 3261</span>&nbsp;&nbsp;};
<span class="linenum"> 3262</span>&nbsp;&nbsp;
<span class="linenum"> 3263</span>&nbsp;&nbsp;
<span class="linenum"> 3264</span>&nbsp;&nbsp;<span class="keyword">static</span> GFXDECODE_START( pacman )
<span class="linenum"> 3265</span>&nbsp;&nbsp;    GFXDECODE_ENTRY( <span class="string">"gfx1"</span>, 0x0000, tilelayout,   0, 128 )
<span class="linenum"> 3266</span>&nbsp;&nbsp;    GFXDECODE_ENTRY( <span class="string">"gfx1"</span>, 0x1000, spritelayout, 0, 128 )
<span class="linenum"> 3267</span>&nbsp;&nbsp;GFXDECODE_END
<span class="linenum"> 3268</span>&nbsp;&nbsp;
<span class="linenum"> 3269</span>&nbsp;&nbsp;
<span class="linenum"> 3270</span>&nbsp;&nbsp;<span class="keyword">static</span> GFXDECODE_START( s2650games )
<span class="linenum"> 3271</span>&nbsp;&nbsp;    GFXDECODE_ENTRY( <span class="string">"gfx1"</span>, 0x0000, tilelayout,   0, 128 )
<span class="linenum"> 3272</span>&nbsp;&nbsp;    GFXDECODE_ENTRY( <span class="string">"gfx1"</span>, 0x4000, spritelayout, 0, 128 )
<span class="linenum"> 3273</span>&nbsp;&nbsp;GFXDECODE_END
<span class="linenum"> 3274</span>&nbsp;&nbsp;
<span class="linenum"> 3275</span>&nbsp;&nbsp;
<span class="linenum"> 3276</span>&nbsp;&nbsp;<span class="keyword">static</span> GFXDECODE_START( superabc )
<span class="linenum"> 3277</span>&nbsp;&nbsp;    GFXDECODE_ENTRY( <span class="string">"gfx1"</span>, 0x0000, tilelayout,   0, 128 )
<span class="linenum"> 3278</span>&nbsp;&nbsp;    GFXDECODE_ENTRY( <span class="string">"gfx1"</span>, 0x8000, spritelayout, 0, 128 )
<span class="linenum"> 3279</span>&nbsp;&nbsp;GFXDECODE_END
<span class="linenum"> 3280</span>&nbsp;&nbsp;
<span class="linenum"> 3281</span>&nbsp;&nbsp;
<span class="linenum"> 3282</span>&nbsp;&nbsp;<span class="keyword">static</span> GFXDECODE_START( crush4 )
<span class="linenum"> 3283</span>&nbsp;&nbsp;    GFXDECODE_ENTRY( <span class="string">"gfx1"</span>, 0x0000, crush4_tilelayout,   0, 128 )
<span class="linenum"> 3284</span>&nbsp;&nbsp;    GFXDECODE_ENTRY( <span class="string">"gfx1"</span>, 0x1000, crush4_spritelayout, 0, 128 )
<span class="linenum"> 3285</span>&nbsp;&nbsp;GFXDECODE_END
<span class="linenum"> 3286</span>&nbsp;&nbsp;
<span class="linenum"> 3287</span>&nbsp;&nbsp;
<span class="linenum"> 3288</span>&nbsp;&nbsp;
<span class="linenum"> 3289</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum"> 3290</span>&nbsp;&nbsp; *
<span class="linenum"> 3291</span>&nbsp;&nbsp; *  Sound interfaces
<span class="linenum"> 3292</span>&nbsp;&nbsp; *
<span class="linenum"> 3293</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum"> 3294</span>&nbsp;&nbsp;
<span class="linenum"> 3295</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">const</span> namco_interface namco_config =
<span class="linenum"> 3296</span>&nbsp;&nbsp;{
<span class="linenum"> 3297</span>&nbsp;&nbsp;    3,          <span class="comment">/* number of voices */</span>
<span class="linenum"> 3298</span>&nbsp;&nbsp;    0           <span class="comment">/* stereo */</span>
<span class="linenum"> 3299</span>&nbsp;&nbsp;};
<span class="linenum"> 3300</span>&nbsp;&nbsp;
<span class="linenum"> 3301</span>&nbsp;&nbsp;
<span class="linenum"> 3302</span>&nbsp;&nbsp;<span class="comment">//-------------------------------------------------</span>
<span class="linenum"> 3303</span>&nbsp;&nbsp;<span class="comment">//  sn76496_config psg_intf</span>
<span class="linenum"> 3304</span>&nbsp;&nbsp;<span class="comment">//-------------------------------------------------</span>
<span class="linenum"> 3305</span>&nbsp;&nbsp;
<span class="linenum"> 3306</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">const</span> sn76496_config psg_intf =
<span class="linenum"> 3307</span>&nbsp;&nbsp;{
<span class="linenum"> 3308</span>&nbsp;&nbsp;    DEVCB_NULL
<span class="linenum"> 3309</span>&nbsp;&nbsp;};
<span class="linenum"> 3310</span>&nbsp;&nbsp;
<span class="linenum"> 3311</span>&nbsp;&nbsp;
<span class="linenum"> 3312</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum"> 3313</span>&nbsp;&nbsp; *
<span class="linenum"> 3314</span>&nbsp;&nbsp; *  Machine drivers
<span class="linenum"> 3315</span>&nbsp;&nbsp; *
<span class="linenum"> 3316</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum"> 3317</span>&nbsp;&nbsp;
<span class="linenum"> 3318</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_START( pacman, pacman_state )
<span class="linenum"> 3319</span>&nbsp;&nbsp;
<span class="linenum"> 3320</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3321</span>&nbsp;&nbsp;    MCFG_CPU_ADD(<span class="string">"maincpu"</span>, Z80, MASTER_CLOCK/6)
<span class="linenum"> 3322</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(pacman_map)
<span class="linenum"> 3323</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(writeport)
<span class="linenum"> 3324</span>&nbsp;&nbsp;    MCFG_CPU_VBLANK_INT_DRIVER(<span class="string">"screen"</span>, pacman_state, vblank_irq)
<span class="linenum"> 3325</span>&nbsp;&nbsp;    MCFG_WATCHDOG_VBLANK_INIT(16)
<span class="linenum"> 3326</span>&nbsp;&nbsp;
<span class="linenum"> 3327</span>&nbsp;&nbsp;    <span class="comment">/* video hardware */</span>
<span class="linenum"> 3328</span>&nbsp;&nbsp;    MCFG_GFXDECODE(pacman)
<span class="linenum"> 3329</span>&nbsp;&nbsp;    MCFG_PALETTE_LENGTH(128*4)
<span class="linenum"> 3330</span>&nbsp;&nbsp;
<span class="linenum"> 3331</span>&nbsp;&nbsp;    MCFG_SCREEN_ADD(<span class="string">"screen"</span>, RASTER)
<span class="linenum"> 3332</span>&nbsp;&nbsp;    MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
<span class="linenum"> 3333</span>&nbsp;&nbsp;    MCFG_SCREEN_UPDATE_DRIVER(pacman_state, screen_update_pacman)
<span class="linenum"> 3334</span>&nbsp;&nbsp;
<span class="linenum"> 3335</span>&nbsp;&nbsp;    MCFG_PALETTE_INIT_OVERRIDE(pacman_state,pacman)
<span class="linenum"> 3336</span>&nbsp;&nbsp;    MCFG_VIDEO_START_OVERRIDE(pacman_state,pacman)
<span class="linenum"> 3337</span>&nbsp;&nbsp;
<span class="linenum"> 3338</span>&nbsp;&nbsp;    <span class="comment">/* sound hardware */</span>
<span class="linenum"> 3339</span>&nbsp;&nbsp;    MCFG_SPEAKER_STANDARD_MONO(<span class="string">"mono"</span>)
<span class="linenum"> 3340</span>&nbsp;&nbsp;
<span class="linenum"> 3341</span>&nbsp;&nbsp;    MCFG_SOUND_ADD(<span class="string">"namco"</span>, NAMCO, MASTER_CLOCK/6/32)
<span class="linenum"> 3342</span>&nbsp;&nbsp;    MCFG_SOUND_CONFIG(namco_config)
<span class="linenum"> 3343</span>&nbsp;&nbsp;    MCFG_SOUND_ROUTE(ALL_OUTPUTS, <span class="string">"mono"</span>, 1.0)
<span class="linenum"> 3344</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3345</span>&nbsp;&nbsp;
<span class="linenum"> 3346</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( birdiy, pacman )
<span class="linenum"> 3347</span>&nbsp;&nbsp;
<span class="linenum"> 3348</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3349</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3350</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(birdiy_map)
<span class="linenum"> 3351</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(0)
<span class="linenum"> 3352</span>&nbsp;&nbsp;
<span class="linenum"> 3353</span>&nbsp;&nbsp;    MCFG_VIDEO_START_OVERRIDE(pacman_state,birdiy)
<span class="linenum"> 3354</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3355</span>&nbsp;&nbsp;
<span class="linenum"> 3356</span>&nbsp;&nbsp;
<span class="linenum"> 3357</span>&nbsp;&nbsp;
<span class="linenum"> 3358</span>&nbsp;&nbsp;
<span class="linenum"> 3359</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( piranha, pacman )
<span class="linenum"> 3360</span>&nbsp;&nbsp;
<span class="linenum"> 3361</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3362</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3363</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(piranha_portmap)
<span class="linenum"> 3364</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3365</span>&nbsp;&nbsp;
<span class="linenum"> 3366</span>&nbsp;&nbsp;
<span class="linenum"> 3367</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( nmouse, pacman )
<span class="linenum"> 3368</span>&nbsp;&nbsp;
<span class="linenum"> 3369</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3370</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3371</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(nmouse_portmap)
<span class="linenum"> 3372</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3373</span>&nbsp;&nbsp;
<span class="linenum"> 3374</span>&nbsp;&nbsp;
<span class="linenum"> 3375</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( mspacman, pacman )
<span class="linenum"> 3376</span>&nbsp;&nbsp;
<span class="linenum"> 3377</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3378</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3379</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(mspacman_map)
<span class="linenum"> 3380</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3381</span>&nbsp;&nbsp;
<span class="linenum"> 3382</span>&nbsp;&nbsp;
<span class="linenum"> 3383</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( woodpek, pacman )
<span class="linenum"> 3384</span>&nbsp;&nbsp;
<span class="linenum"> 3385</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3386</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3387</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(woodpek_map)
<span class="linenum"> 3388</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3389</span>&nbsp;&nbsp;
<span class="linenum"> 3390</span>&nbsp;&nbsp;
<span class="linenum"> 3391</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( alibaba, pacman )
<span class="linenum"> 3392</span>&nbsp;&nbsp;
<span class="linenum"> 3393</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3394</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3395</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(alibaba_map)
<span class="linenum"> 3396</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3397</span>&nbsp;&nbsp;
<span class="linenum"> 3398</span>&nbsp;&nbsp;
<span class="linenum"> 3399</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( dremshpr, pacman )
<span class="linenum"> 3400</span>&nbsp;&nbsp;
<span class="linenum"> 3401</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3402</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3403</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(dremshpr_map)
<span class="linenum"> 3404</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(dremshpr_portmap)
<span class="linenum"> 3405</span>&nbsp;&nbsp;    MCFG_CPU_VBLANK_INT_DRIVER(<span class="string">"screen"</span>, pacman_state,  vblank_nmi)
<span class="linenum"> 3406</span>&nbsp;&nbsp;
<span class="linenum"> 3407</span>&nbsp;&nbsp;    <span class="comment">/* sound hardware */</span>
<span class="linenum"> 3408</span>&nbsp;&nbsp;    MCFG_SOUND_REPLACE(<span class="string">"namco"</span>, AY8910, 14318000/8)
<span class="linenum"> 3409</span>&nbsp;&nbsp;    MCFG_SOUND_ROUTE(ALL_OUTPUTS, <span class="string">"mono"</span>, 0.50)
<span class="linenum"> 3410</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3411</span>&nbsp;&nbsp;
<span class="linenum"> 3412</span>&nbsp;&nbsp;
<span class="linenum"> 3413</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( theglobp, pacman )
<span class="linenum"> 3414</span>&nbsp;&nbsp;
<span class="linenum"> 3415</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3416</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3417</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(epos_map)
<span class="linenum"> 3418</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(theglobp_portmap)
<span class="linenum"> 3419</span>&nbsp;&nbsp;
<span class="linenum"> 3420</span>&nbsp;&nbsp;    MCFG_MACHINE_START_OVERRIDE(pacman_state,theglobp)
<span class="linenum"> 3421</span>&nbsp;&nbsp;    MCFG_MACHINE_RESET_OVERRIDE(pacman_state,theglobp)
<span class="linenum"> 3422</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3423</span>&nbsp;&nbsp;
<span class="linenum"> 3424</span>&nbsp;&nbsp;
<span class="linenum"> 3425</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( acitya, pacman )
<span class="linenum"> 3426</span>&nbsp;&nbsp;
<span class="linenum"> 3427</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3428</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3429</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(epos_map)
<span class="linenum"> 3430</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(acitya_portmap)
<span class="linenum"> 3431</span>&nbsp;&nbsp;
<span class="linenum"> 3432</span>&nbsp;&nbsp;    MCFG_MACHINE_START_OVERRIDE(pacman_state,acitya)
<span class="linenum"> 3433</span>&nbsp;&nbsp;    MCFG_MACHINE_RESET_OVERRIDE(pacman_state,acitya)
<span class="linenum"> 3434</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3435</span>&nbsp;&nbsp;
<span class="linenum"> 3436</span>&nbsp;&nbsp;
<span class="linenum"> 3437</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( vanvan, pacman )
<span class="linenum"> 3438</span>&nbsp;&nbsp;
<span class="linenum"> 3439</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3440</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3441</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(dremshpr_map)
<span class="linenum"> 3442</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(vanvan_portmap)
<span class="linenum"> 3443</span>&nbsp;&nbsp;    MCFG_CPU_VBLANK_INT_DRIVER(<span class="string">"screen"</span>, pacman_state,  vblank_nmi)
<span class="linenum"> 3444</span>&nbsp;&nbsp;
<span class="linenum"> 3445</span>&nbsp;&nbsp;    <span class="comment">/* video hardware */</span>
<span class="linenum"> 3446</span>&nbsp;&nbsp;    MCFG_SCREEN_MODIFY(<span class="string">"screen"</span>)
<span class="linenum"> 3447</span>&nbsp;&nbsp;    MCFG_SCREEN_VISIBLE_AREA(2*8, 34*8-1, 0*8, 28*8-1)
<span class="linenum"> 3448</span>&nbsp;&nbsp;
<span class="linenum"> 3449</span>&nbsp;&nbsp;    <span class="comment">/* sound hardware */</span>
<span class="linenum"> 3450</span>&nbsp;&nbsp;    MCFG_SOUND_REPLACE(<span class="string">"namco"</span>, SN76496, 1789750)
<span class="linenum"> 3451</span>&nbsp;&nbsp;    MCFG_SOUND_CONFIG(psg_intf)
<span class="linenum"> 3452</span>&nbsp;&nbsp;    MCFG_SOUND_ROUTE(ALL_OUTPUTS, <span class="string">"mono"</span>, 0.75)
<span class="linenum"> 3453</span>&nbsp;&nbsp;    MCFG_SOUND_ADD(<span class="string">"sn2"</span>, SN76496, 1789750)
<span class="linenum"> 3454</span>&nbsp;&nbsp;    MCFG_SOUND_CONFIG(psg_intf)
<span class="linenum"> 3455</span>&nbsp;&nbsp;    MCFG_SOUND_ROUTE(ALL_OUTPUTS, <span class="string">"mono"</span>, 0.75)
<span class="linenum"> 3456</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3457</span>&nbsp;&nbsp;
<span class="linenum"> 3458</span>&nbsp;&nbsp;
<span class="linenum"> 3459</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( bigbucks, pacman )
<span class="linenum"> 3460</span>&nbsp;&nbsp;
<span class="linenum"> 3461</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3462</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3463</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(bigbucks_map)
<span class="linenum"> 3464</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(bigbucks_portmap)
<span class="linenum"> 3465</span>&nbsp;&nbsp;    MCFG_CPU_PERIODIC_INT_DRIVER(pacman_state, vblank_irq, 20*60)
<span class="linenum"> 3466</span>&nbsp;&nbsp;
<span class="linenum"> 3467</span>&nbsp;&nbsp;    MCFG_SCREEN_MODIFY(<span class="string">"screen"</span>)
<span class="linenum"> 3468</span>&nbsp;&nbsp;    MCFG_SCREEN_VISIBLE_AREA(0*8, 36*8-1, 0*8, 28*8-1)
<span class="linenum"> 3469</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3470</span>&nbsp;&nbsp;
<span class="linenum"> 3471</span>&nbsp;&nbsp;
<span class="linenum"> 3472</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( s2650games, pacman )
<span class="linenum"> 3473</span>&nbsp;&nbsp;
<span class="linenum"> 3474</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3475</span>&nbsp;&nbsp;    MCFG_DEVICE_REMOVE(<span class="string">"maincpu"</span>)
<span class="linenum"> 3476</span>&nbsp;&nbsp;    MCFG_CPU_ADD(<span class="string">"maincpu"</span>, S2650, MASTER_CLOCK/6/2)    <span class="comment">/* 2H */</span>
<span class="linenum"> 3477</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(s2650games_map)
<span class="linenum"> 3478</span>&nbsp;&nbsp;    MCFG_CPU_VBLANK_INT_DRIVER(<span class="string">"screen"</span>, pacman_state,  s2650_interrupt)
<span class="linenum"> 3479</span>&nbsp;&nbsp;
<span class="linenum"> 3480</span>&nbsp;&nbsp;    MCFG_GFXDECODE(s2650games)
<span class="linenum"> 3481</span>&nbsp;&nbsp;
<span class="linenum"> 3482</span>&nbsp;&nbsp;    MCFG_SCREEN_MODIFY(<span class="string">"screen"</span>)
<span class="linenum"> 3483</span>&nbsp;&nbsp;    MCFG_SCREEN_SIZE(32*8, 32*8)
<span class="linenum"> 3484</span>&nbsp;&nbsp;    MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
<span class="linenum"> 3485</span>&nbsp;&nbsp;    MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) <span class="comment">/* not accurate */</span>)
<span class="linenum"> 3486</span>&nbsp;&nbsp;    MCFG_SCREEN_UPDATE_DRIVER(pacman_state, screen_update_s2650games)
<span class="linenum"> 3487</span>&nbsp;&nbsp;
<span class="linenum"> 3488</span>&nbsp;&nbsp;    MCFG_VIDEO_START_OVERRIDE(pacman_state,s2650games)
<span class="linenum"> 3489</span>&nbsp;&nbsp;
<span class="linenum"> 3490</span>&nbsp;&nbsp;    <span class="comment">/* sound hardware */</span>
<span class="linenum"> 3491</span>&nbsp;&nbsp;    MCFG_SOUND_REPLACE(<span class="string">"namco"</span>, SN76496, MASTER_CLOCK/6)    <span class="comment">/* 1H */</span>
<span class="linenum"> 3492</span>&nbsp;&nbsp;    MCFG_SOUND_CONFIG(psg_intf)
<span class="linenum"> 3493</span>&nbsp;&nbsp;    MCFG_SOUND_ROUTE(ALL_OUTPUTS, <span class="string">"mono"</span>, 0.75)
<span class="linenum"> 3494</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3495</span>&nbsp;&nbsp;
<span class="linenum"> 3496</span>&nbsp;&nbsp;
<span class="linenum"> 3497</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( drivfrcp, s2650games )
<span class="linenum"> 3498</span>&nbsp;&nbsp;
<span class="linenum"> 3499</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3500</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3501</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(drivfrcp_portmap)
<span class="linenum"> 3502</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3503</span>&nbsp;&nbsp;
<span class="linenum"> 3504</span>&nbsp;&nbsp;
<span class="linenum"> 3505</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( 8bpm, s2650games )
<span class="linenum"> 3506</span>&nbsp;&nbsp;
<span class="linenum"> 3507</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3508</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3509</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(_8bpm_portmap)
<span class="linenum"> 3510</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3511</span>&nbsp;&nbsp;
<span class="linenum"> 3512</span>&nbsp;&nbsp;
<span class="linenum"> 3513</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( porky, s2650games )
<span class="linenum"> 3514</span>&nbsp;&nbsp;
<span class="linenum"> 3515</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3516</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3517</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(porky_portmap)
<span class="linenum"> 3518</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3519</span>&nbsp;&nbsp;
<span class="linenum"> 3520</span>&nbsp;&nbsp;
<span class="linenum"> 3521</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( rocktrv2, pacman )
<span class="linenum"> 3522</span>&nbsp;&nbsp;
<span class="linenum"> 3523</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3524</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3525</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(rocktrv2_map)
<span class="linenum"> 3526</span>&nbsp;&nbsp;    MCFG_CPU_VBLANK_INT_DRIVER(<span class="string">"screen"</span>, pacman_state,  irq0_line_hold)
<span class="linenum"> 3527</span>&nbsp;&nbsp;
<span class="linenum"> 3528</span>&nbsp;&nbsp;    MCFG_SCREEN_MODIFY(<span class="string">"screen"</span>)
<span class="linenum"> 3529</span>&nbsp;&nbsp;    MCFG_SCREEN_VISIBLE_AREA(0*8, 36*8-1, 0*8, 28*8-1)
<span class="linenum"> 3530</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3531</span>&nbsp;&nbsp;
<span class="linenum"> 3532</span>&nbsp;&nbsp;
<span class="linenum"> 3533</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( mschamp, pacman )
<span class="linenum"> 3534</span>&nbsp;&nbsp;
<span class="linenum"> 3535</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3536</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3537</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(mschamp_map)
<span class="linenum"> 3538</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(mschamp_portmap)
<span class="linenum"> 3539</span>&nbsp;&nbsp;    MCFG_CPU_VBLANK_INT_DRIVER(<span class="string">"screen"</span>, pacman_state,  vblank_irq)
<span class="linenum"> 3540</span>&nbsp;&nbsp;
<span class="linenum"> 3541</span>&nbsp;&nbsp;    MCFG_MACHINE_RESET_OVERRIDE(pacman_state,mschamp)
<span class="linenum"> 3542</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3543</span>&nbsp;&nbsp;
<span class="linenum"> 3544</span>&nbsp;&nbsp;
<span class="linenum"> 3545</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( superabc, pacman )
<span class="linenum"> 3546</span>&nbsp;&nbsp;
<span class="linenum"> 3547</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3548</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3549</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(superabc_map)
<span class="linenum"> 3550</span>&nbsp;&nbsp;
<span class="linenum"> 3551</span>&nbsp;&nbsp;    MCFG_NVRAM_ADD_0FILL(<span class="string">"28c16.u17"</span>)
<span class="linenum"> 3552</span>&nbsp;&nbsp;
<span class="linenum"> 3553</span>&nbsp;&nbsp;    MCFG_MACHINE_RESET_OVERRIDE(pacman_state,superabc)
<span class="linenum"> 3554</span>&nbsp;&nbsp;
<span class="linenum"> 3555</span>&nbsp;&nbsp;    <span class="comment">/* video hardware */</span>
<span class="linenum"> 3556</span>&nbsp;&nbsp;    MCFG_GFXDECODE(superabc)
<span class="linenum"> 3557</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3558</span>&nbsp;&nbsp;
<span class="linenum"> 3559</span>&nbsp;&nbsp;
<span class="linenum"> 3560</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( crush4, mschamp )
<span class="linenum"> 3561</span>&nbsp;&nbsp;
<span class="linenum"> 3562</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3563</span>&nbsp;&nbsp;    MCFG_GFXDECODE(crush4)
<span class="linenum"> 3564</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3565</span>&nbsp;&nbsp;
<span class="linenum"> 3566</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">const</span> ay8910_interface crushs_ay8910_interface =
<span class="linenum"> 3567</span>&nbsp;&nbsp;{
<span class="linenum"> 3568</span>&nbsp;&nbsp;    AY8910_LEGACY_OUTPUT,
<span class="linenum"> 3569</span>&nbsp;&nbsp;    AY8910_DEFAULT_LOADS,
<span class="linenum"> 3570</span>&nbsp;&nbsp;    DEVCB_NULL,
<span class="linenum"> 3571</span>&nbsp;&nbsp;    DEVCB_NULL,
<span class="linenum"> 3572</span>&nbsp;&nbsp;    DEVCB_NULL,
<span class="linenum"> 3573</span>&nbsp;&nbsp;    DEVCB_NULL
<span class="linenum"> 3574</span>&nbsp;&nbsp;};
<span class="linenum"> 3575</span>&nbsp;&nbsp;
<span class="linenum"> 3576</span>&nbsp;&nbsp;<span class="keyword">static</span> MACHINE_CONFIG_DERIVED( crushs, pacman )
<span class="linenum"> 3577</span>&nbsp;&nbsp;
<span class="linenum"> 3578</span>&nbsp;&nbsp;    <span class="comment">/* basic machine hardware */</span>
<span class="linenum"> 3579</span>&nbsp;&nbsp;
<span class="linenum"> 3580</span>&nbsp;&nbsp;    MCFG_CPU_MODIFY(<span class="string">"maincpu"</span>)
<span class="linenum"> 3581</span>&nbsp;&nbsp;    MCFG_CPU_PROGRAM_MAP(crushs_map)
<span class="linenum"> 3582</span>&nbsp;&nbsp;    MCFG_CPU_IO_MAP(crushs_portmap)
<span class="linenum"> 3583</span>&nbsp;&nbsp;
<span class="linenum"> 3584</span>&nbsp;&nbsp;    <span class="comment">/* sound hardware */</span>
<span class="linenum"> 3585</span>&nbsp;&nbsp;    MCFG_SOUND_REPLACE(<span class="string">"namco"</span>, AY8912, 1789750)
<span class="linenum"> 3586</span>&nbsp;&nbsp;    MCFG_SOUND_CONFIG(crushs_ay8910_interface)
<span class="linenum"> 3587</span>&nbsp;&nbsp;    MCFG_SOUND_ROUTE(ALL_OUTPUTS, <span class="string">"mono"</span>, 0.75)
<span class="linenum"> 3588</span>&nbsp;&nbsp;MACHINE_CONFIG_END
<span class="linenum"> 3589</span>&nbsp;&nbsp;
<span class="linenum"> 3590</span>&nbsp;&nbsp;
<span class="linenum"> 3591</span>&nbsp;&nbsp;
<span class="linenum"> 3592</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum"> 3593</span>&nbsp;&nbsp; *
<span class="linenum"> 3594</span>&nbsp;&nbsp; *  ROM definitions
<span class="linenum"> 3595</span>&nbsp;&nbsp; *
<span class="linenum"> 3596</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum"> 3597</span>&nbsp;&nbsp;
<span class="linenum"> 3598</span>&nbsp;&nbsp;ROM_START( puckman )
<span class="linenum"> 3599</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3600</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6e"</span>,  0x0000, 0x1000, CRC(fee263b3) SHA1(87117ba5082cd7a615b4ec7c02dd819003fbd669) )
<span class="linenum"> 3601</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6f"</span>,  0x1000, 0x1000, CRC(39d1fc83) SHA1(326dbbf94c6fa2e96613dedb53702f8832b47d59) )
<span class="linenum"> 3602</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6h"</span>,  0x2000, 0x1000, CRC(02083b03) SHA1(7e1945f6eb51f2e51806d0439f975f7a2889b9b8) )
<span class="linenum"> 3603</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6j"</span>,  0x3000, 0x1000, CRC(7a36fe55) SHA1(01b4c38108d9dc4e48da4f8d685248e1e6821377) )
<span class="linenum"> 3604</span>&nbsp;&nbsp;
<span class="linenum"> 3605</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3606</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5e"</span>,    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
<span class="linenum"> 3607</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3608</span>&nbsp;&nbsp;
<span class="linenum"> 3609</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3610</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3611</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3612</span>&nbsp;&nbsp;
<span class="linenum"> 3613</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3614</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3615</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3616</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3617</span>&nbsp;&nbsp;
<span class="linenum"> 3618</span>&nbsp;&nbsp;
<span class="linenum"> 3619</span>&nbsp;&nbsp;ROM_START( puckmanf )
<span class="linenum"> 3620</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3621</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6e"</span>,  0x0000, 0x1000, CRC(fee263b3) SHA1(87117ba5082cd7a615b4ec7c02dd819003fbd669) )
<span class="linenum"> 3622</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"nampfast.6f"</span>,  0x1000, 0x1000, CRC(51b38db9) SHA1(0a796f93462aec4758c2aa1c1f34cd05bb10a178) )
<span class="linenum"> 3623</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6h"</span>,  0x2000, 0x1000, CRC(02083b03) SHA1(7e1945f6eb51f2e51806d0439f975f7a2889b9b8) )
<span class="linenum"> 3624</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6j"</span>,  0x3000, 0x1000, CRC(7a36fe55) SHA1(01b4c38108d9dc4e48da4f8d685248e1e6821377) )
<span class="linenum"> 3625</span>&nbsp;&nbsp;
<span class="linenum"> 3626</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3627</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5e"</span>,    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
<span class="linenum"> 3628</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3629</span>&nbsp;&nbsp;
<span class="linenum"> 3630</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3631</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3632</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3633</span>&nbsp;&nbsp;
<span class="linenum"> 3634</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3635</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3636</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3637</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3638</span>&nbsp;&nbsp;
<span class="linenum"> 3639</span>&nbsp;&nbsp;
<span class="linenum"> 3640</span>&nbsp;&nbsp;ROM_START( puckmod )
<span class="linenum"> 3641</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3642</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6e"</span>,  0x0000, 0x1000, CRC(fee263b3) SHA1(87117ba5082cd7a615b4ec7c02dd819003fbd669) )
<span class="linenum"> 3643</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6f"</span>,  0x1000, 0x1000, CRC(39d1fc83) SHA1(326dbbf94c6fa2e96613dedb53702f8832b47d59) )
<span class="linenum"> 3644</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"namcopac.6h"</span>,  0x2000, 0x1000, CRC(02083b03) SHA1(7e1945f6eb51f2e51806d0439f975f7a2889b9b8) )
<span class="linenum"> 3645</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"npacmod.6j"</span>,   0x3000, 0x1000, CRC(7d98d5f5) SHA1(39939bcd6fb785d0d06fd29f0287158ab1267dfc) )
<span class="linenum"> 3646</span>&nbsp;&nbsp;
<span class="linenum"> 3647</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3648</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5e"</span>,    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
<span class="linenum"> 3649</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3650</span>&nbsp;&nbsp;
<span class="linenum"> 3651</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3652</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3653</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3654</span>&nbsp;&nbsp;
<span class="linenum"> 3655</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3656</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3657</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3658</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3659</span>&nbsp;&nbsp;
<span class="linenum"> 3660</span>&nbsp;&nbsp;
<span class="linenum"> 3661</span>&nbsp;&nbsp;ROM_START( puckmana )
<span class="linenum"> 3662</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3663</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6e"</span>,    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
<span class="linenum"> 3664</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6f"</span>,    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
<span class="linenum"> 3665</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6h"</span>,    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
<span class="linenum"> 3666</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"prg7"</span>,         0x3000, 0x0800, CRC(b6289b26) SHA1(d249fa9cdde774d5fee7258147cd25fa3f4dc2b3) )
<span class="linenum"> 3667</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"prg8"</span>,         0x3800, 0x0800, CRC(17a88c13) SHA1(eb462de79f49b7aa8adb0cc6d31535b10550c0ce) )
<span class="linenum"> 3668</span>&nbsp;&nbsp;
<span class="linenum"> 3669</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3670</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"chg1"</span>,         0x0000, 0x0800, CRC(2066a0b7) SHA1(6d4ccc27d6be185589e08aa9f18702b679e49a4a) )
<span class="linenum"> 3671</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"chg2"</span>,         0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
<span class="linenum"> 3672</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3673</span>&nbsp;&nbsp;
<span class="linenum"> 3674</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3675</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3676</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3677</span>&nbsp;&nbsp;
<span class="linenum"> 3678</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3679</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3680</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3681</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3682</span>&nbsp;&nbsp;
<span class="linenum"> 3683</span>&nbsp;&nbsp;
<span class="linenum"> 3684</span>&nbsp;&nbsp;ROM_START( pacman )
<span class="linenum"> 3685</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3686</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6e"</span>,    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
<span class="linenum"> 3687</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6f"</span>,    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
<span class="linenum"> 3688</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6h"</span>,    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
<span class="linenum"> 3689</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6j"</span>,    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
<span class="linenum"> 3690</span>&nbsp;&nbsp;
<span class="linenum"> 3691</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3692</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5e"</span>,    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
<span class="linenum"> 3693</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3694</span>&nbsp;&nbsp;
<span class="linenum"> 3695</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3696</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3697</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3698</span>&nbsp;&nbsp;
<span class="linenum"> 3699</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3700</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3701</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3702</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3703</span>&nbsp;&nbsp;
<span class="linenum"> 3704</span>&nbsp;&nbsp;
<span class="linenum"> 3705</span>&nbsp;&nbsp;ROM_START( pacmanf )
<span class="linenum"> 3706</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3707</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6e"</span>,    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
<span class="linenum"> 3708</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacfast.6f"</span>,   0x1000, 0x1000, CRC(720dc3ee) SHA1(7224d7acfa0144b681c71d7734a7337189835361) )
<span class="linenum"> 3709</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6h"</span>,    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
<span class="linenum"> 3710</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6j"</span>,    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
<span class="linenum"> 3711</span>&nbsp;&nbsp;
<span class="linenum"> 3712</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3713</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5e"</span>,    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
<span class="linenum"> 3714</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3715</span>&nbsp;&nbsp;
<span class="linenum"> 3716</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3717</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3718</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3719</span>&nbsp;&nbsp;
<span class="linenum"> 3720</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3721</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3722</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3723</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3724</span>&nbsp;&nbsp;
<span class="linenum"> 3725</span>&nbsp;&nbsp;
<span class="linenum"> 3726</span>&nbsp;&nbsp;ROM_START( pacmod )
<span class="linenum"> 3727</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3728</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacmanh.6e"</span>,   0x0000, 0x1000, CRC(3b2ec270) SHA1(48fc607ad8d86249948aa377c677ae44bb8ad3da) )
<span class="linenum"> 3729</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6f"</span>,    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
<span class="linenum"> 3730</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacmanh.6h"</span>,   0x2000, 0x1000, CRC(18811780) SHA1(ab34acaa3dbcafe8b20c2197f36641e471984487) )
<span class="linenum"> 3731</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacmanh.6j"</span>,   0x3000, 0x1000, CRC(5c96a733) SHA1(22ae15a6f088e7296f77c7487a350c4bd102f00e) )
<span class="linenum"> 3732</span>&nbsp;&nbsp;
<span class="linenum"> 3733</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3734</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacmanh.5e"</span>,   0x0000, 0x1000, CRC(299fb17a) SHA1(ad97adc2122482a9018bacd137df9d8f409ddf85) )
<span class="linenum"> 3735</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3736</span>&nbsp;&nbsp;
<span class="linenum"> 3737</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3738</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3739</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3740</span>&nbsp;&nbsp;
<span class="linenum"> 3741</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3742</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3743</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3744</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3745</span>&nbsp;&nbsp;
<span class="linenum"> 3746</span>&nbsp;&nbsp;
<span class="linenum"> 3747</span>&nbsp;&nbsp;ROM_START( hangly )
<span class="linenum"> 3748</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3749</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly.6e"</span>,    0x0000, 0x1000, CRC(5fe8610a) SHA1(d63eaebd85e10aa6c27bb7f47642dd403eeb6934) )
<span class="linenum"> 3750</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly.6f"</span>,    0x1000, 0x1000, CRC(73726586) SHA1(cedddc5194589039dd8b64f07ab6320d7d4f55f9) )
<span class="linenum"> 3751</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly.6h"</span>,    0x2000, 0x1000, CRC(4e7ef99f) SHA1(bd42e68b29b4d654dc817782ba00db69b7d2dfe2) )
<span class="linenum"> 3752</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly.6j"</span>,    0x3000, 0x1000, CRC(7f4147e6) SHA1(0a7ac0e59d4d26fe52a2f4196c9f19e5ab677c87) )
<span class="linenum"> 3753</span>&nbsp;&nbsp;
<span class="linenum"> 3754</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3755</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5e"</span>,    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
<span class="linenum"> 3756</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3757</span>&nbsp;&nbsp;
<span class="linenum"> 3758</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3759</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3760</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3761</span>&nbsp;&nbsp;
<span class="linenum"> 3762</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3763</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3764</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3765</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3766</span>&nbsp;&nbsp;
<span class="linenum"> 3767</span>&nbsp;&nbsp;
<span class="linenum"> 3768</span>&nbsp;&nbsp;ROM_START( hangly2 )
<span class="linenum"> 3769</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3770</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly.6e"</span>,    0x0000, 0x1000, CRC(5fe8610a) SHA1(d63eaebd85e10aa6c27bb7f47642dd403eeb6934) )
<span class="linenum"> 3771</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly2.6f"</span>,   0x1000, 0x0800, CRC(5ba228bb) SHA1(b0e902cdf98bee72d6ec8069eec96adce3245074) )
<span class="linenum"> 3772</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly2.6m"</span>,   0x1800, 0x0800, CRC(baf5461e) SHA1(754586a6449fd54a342f260e572c1cd60ab70815) )
<span class="linenum"> 3773</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly.6h"</span>,    0x2000, 0x1000, CRC(4e7ef99f) SHA1(bd42e68b29b4d654dc817782ba00db69b7d2dfe2) )
<span class="linenum"> 3774</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly2.6j"</span>,   0x3000, 0x0800, CRC(51305374) SHA1(6197b606a0eedb11135d9f4f7a89aecc23fb2d33) )
<span class="linenum"> 3775</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly2.6p"</span>,   0x3800, 0x0800, CRC(427c9d4d) SHA1(917bc3d571cbdd24d88327ecabfb5b3f6d39af0a) )
<span class="linenum"> 3776</span>&nbsp;&nbsp;
<span class="linenum"> 3777</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3778</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacmanh.5e"</span>,   0x0000, 0x1000, CRC(299fb17a) SHA1(ad97adc2122482a9018bacd137df9d8f409ddf85) )
<span class="linenum"> 3779</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3780</span>&nbsp;&nbsp;
<span class="linenum"> 3781</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3782</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3783</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3784</span>&nbsp;&nbsp;
<span class="linenum"> 3785</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3786</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3787</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3788</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3789</span>&nbsp;&nbsp;
<span class="linenum"> 3790</span>&nbsp;&nbsp;ROM_START( hangly3 )
<span class="linenum"> 3791</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3792</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm1.6e"</span>,   0x0000, 0x0800, CRC(9d027c4a) SHA1(88e094880057451a75cdc2ce9477403021813982) )
<span class="linenum"> 3793</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm5.6k"</span>,   0x0800, 0x0800, CRC(194c7189) SHA1(fd423bac2810015313841c7b935054565390fbd0) )
<span class="linenum"> 3794</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly2.6f"</span>,   0x1000, 0x0800, CRC(5ba228bb) SHA1(b0e902cdf98bee72d6ec8069eec96adce3245074) ) <span class="comment">/* hm2.6f */</span>
<span class="linenum"> 3795</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hangly2.6m"</span>,   0x1800, 0x0800, CRC(baf5461e) SHA1(754586a6449fd54a342f260e572c1cd60ab70815) ) <span class="comment">/* hm6.6m */</span>
<span class="linenum"> 3796</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm3.6h"</span>,   0x2000, 0x0800, CRC(08419c4a) SHA1(7e5001adad401080c788737c1d2349f218750442) )
<span class="linenum"> 3797</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm7.6n"</span>,   0x2800, 0x0800, CRC(ab74b51f) SHA1(1bce8933ed7807eb7aca9670df8994f8d1a8b5b7) )
<span class="linenum"> 3798</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm4.6j"</span>,   0x3000, 0x0800, CRC(5039b082) SHA1(086a6ac4742734167d283b1121fce29d8ac4a6cd) )
<span class="linenum"> 3799</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm8.6p"</span>,   0x3800, 0x0800, CRC(931770d7) SHA1(78fcf88e07ec5126c12c3297b62ca388809e947c) )
<span class="linenum"> 3800</span>&nbsp;&nbsp;
<span class="linenum"> 3801</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3802</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm9.5e"</span>,     0x0000, 0x0800, CRC(5f4be3cc) SHA1(eeb0e1e44549b99eab481d9ac016b4359e19fe30) )
<span class="linenum"> 3803</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm11.5h"</span>,    0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
<span class="linenum"> 3804</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm10.5f"</span>,    0x1000, 0x0800, CRC(9e39323a) SHA1(be933e691df4dbe7d12123913c3b7b7b585b7a35) )
<span class="linenum"> 3805</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"hm12.5j"</span>,    0x1800, 0x0800, CRC(1b1d9096) SHA1(53771c573051db43e7185b1d188533056290a620) )
<span class="linenum"> 3806</span>&nbsp;&nbsp;
<span class="linenum"> 3807</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3808</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3809</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3810</span>&nbsp;&nbsp;
<span class="linenum"> 3811</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3812</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3813</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3814</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3815</span>&nbsp;&nbsp;
<span class="linenum"> 3816</span>&nbsp;&nbsp;ROM_START( popeyeman )
<span class="linenum"> 3817</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3818</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop1.6e"</span>,      0x0000, 0x0800, CRC(9d027c4a) SHA1(88e094880057451a75cdc2ce9477403021813982) )
<span class="linenum"> 3819</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop5.6k"</span>,      0x0800, 0x0800, CRC(194c7189) SHA1(fd423bac2810015313841c7b935054565390fbd0) )
<span class="linenum"> 3820</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop2.6f"</span>,      0x1000, 0x0800, CRC(5ba228bb) SHA1(b0e902cdf98bee72d6ec8069eec96adce3245074) )
<span class="linenum"> 3821</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop6.6m"</span>,      0x1800, 0x0800, CRC(baf5461e) SHA1(754586a6449fd54a342f260e572c1cd60ab70815) )
<span class="linenum"> 3822</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop3.6h"</span>,      0x2000, 0x0800, CRC(08419c4a) SHA1(7e5001adad401080c788737c1d2349f218750442) )
<span class="linenum"> 3823</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop7.6n"</span>,      0x2800, 0x0800, CRC(ab74b51f) SHA1(1bce8933ed7807eb7aca9670df8994f8d1a8b5b7) )
<span class="linenum"> 3824</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop4.6j"</span>,      0x3000, 0x0800, CRC(5039b082) SHA1(086a6ac4742734167d283b1121fce29d8ac4a6cd) )
<span class="linenum"> 3825</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop8.6p"</span>,      0x3800, 0x0800, CRC(931770d7) SHA1(78fcf88e07ec5126c12c3297b62ca388809e947c) )
<span class="linenum"> 3826</span>&nbsp;&nbsp;
<span class="linenum"> 3827</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3828</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop9.5e"</span>,      0x0000, 0x0800, CRC(b569c4c1) SHA1(34a09bcb6eb08375cd5e9ce0aa66b23d60489f92) )
<span class="linenum"> 3829</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop11.5h"</span>,     0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
<span class="linenum"> 3830</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop10.5f"</span>,     0x1000, 0x0800, CRC(014fb5a4) SHA1(7779f0f0d11027adf3b9175af26d53f1e3a54f29) )
<span class="linenum"> 3831</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pop12.5j"</span>,     0x1800, 0x0800, CRC(21b91c64) SHA1(4818194ecc18b5df159f3799ea93c911fd4b9556) )
<span class="linenum"> 3832</span>&nbsp;&nbsp;
<span class="linenum"> 3833</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3834</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3835</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3836</span>&nbsp;&nbsp;
<span class="linenum"> 3837</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3838</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3839</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3840</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3841</span>&nbsp;&nbsp;
<span class="linenum"> 3842</span>&nbsp;&nbsp;ROM_START( crockman )
<span class="linenum"> 3843</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3844</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p1.6e"</span>,        0x0000, 0x0800, CRC(2c0fa0ab) SHA1(37680e4502771ae69d51d07ce43f65b9b2dd2a49) )
<span class="linenum"> 3845</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p5.6k"</span>,        0x0800, 0x0800, CRC(afeca2f1) SHA1(1e6d6c75eeb3a354ce2dc88da62caf9e7d53d0cb) )
<span class="linenum"> 3846</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p2.6f"</span>,        0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
<span class="linenum"> 3847</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p6.6m"</span>,        0x1800, 0x0800, CRC(d3e8914c) SHA1(c2f00e1773c6864435f29c8b7f44f2ef85d227d3) )
<span class="linenum"> 3848</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p3.6h"</span>,        0x2000, 0x0800, CRC(9045a44c) SHA1(a97d7016effbd2ace9a7d92ceb04a6ce18fb42f9) )
<span class="linenum"> 3849</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p7.6n"</span>,        0x2800, 0x0800, CRC(93f344c5) SHA1(987c7fa18a774a47c045fa1dc7dff37457cb8983) )
<span class="linenum"> 3850</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p4.6j"</span>,        0x3000, 0x0800, CRC(bed4a077) SHA1(39ac1d4d2acf4752ff7f9839f8f0d1974e023fab) )
<span class="linenum"> 3851</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p8.6p"</span>,        0x3800, 0x0800, CRC(800be41e) SHA1(6f40e741d95c2cfe1b217f1061da3497b4c2a153) )
<span class="linenum"> 3852</span>&nbsp;&nbsp;
<span class="linenum"> 3853</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3854</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p9.5e"</span>,        0x0000, 0x0800, CRC(a10218c4) SHA1(fa48f780ddbef37d0ef58f301c8783668843eab6) )
<span class="linenum"> 3855</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p11.5h"</span>,       0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
<span class="linenum"> 3856</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p10.5f"</span>,       0x1000, 0x0800, CRC(9e39323a) SHA1(be933e691df4dbe7d12123913c3b7b7b585b7a35) )
<span class="linenum"> 3857</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p12.5j"</span>,       0x1800, 0x0800, CRC(1b1d9096) SHA1(53771c573051db43e7185b1d188533056290a620) )
<span class="linenum"> 3858</span>&nbsp;&nbsp;
<span class="linenum"> 3859</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3860</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3861</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3862</span>&nbsp;&nbsp;
<span class="linenum"> 3863</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3864</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3865</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3866</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3867</span>&nbsp;&nbsp;
<span class="linenum"> 3868</span>&nbsp;&nbsp;ROM_START( puckmanh )
<span class="linenum"> 3869</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3870</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm01.6e"</span>,      0x0000, 0x1000, CRC(5fe8610a) SHA1(d63eaebd85e10aa6c27bb7f47642dd403eeb6934) )
<span class="linenum"> 3871</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm02.6f"</span>,      0x1000, 0x1000, CRC(61d38c6c) SHA1(1406aacdc9c8a3776e5853d214380ad3124408f4) )
<span class="linenum"> 3872</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm03.6h"</span>,      0x2000, 0x1000, CRC(4e7ef99f) SHA1(bd42e68b29b4d654dc817782ba00db69b7d2dfe2) )
<span class="linenum"> 3873</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm04.6j"</span>,      0x3000, 0x1000, CRC(8939ddd2) SHA1(cf769bb34f711cfd0ee75328cd5dc07442f88607) )
<span class="linenum"> 3874</span>&nbsp;&nbsp;
<span class="linenum"> 3875</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3876</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm9.5e"</span>,       0x0000, 0x0800, CRC(2229ab07) SHA1(56000ed5009ae60c7f0498b5cac1b06da6ae270e) )
<span class="linenum"> 3877</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm11.5h"</span>,      0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
<span class="linenum"> 3878</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm10.5f"</span>,      0x1000, 0x0800, CRC(9e39323a) SHA1(be933e691df4dbe7d12123913c3b7b7b585b7a35) )
<span class="linenum"> 3879</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm12.5j"</span>,      0x1800, 0x0800, CRC(1b1d9096) SHA1(53771c573051db43e7185b1d188533056290a620) )
<span class="linenum"> 3880</span>&nbsp;&nbsp;
<span class="linenum"> 3881</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3882</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3883</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3884</span>&nbsp;&nbsp;
<span class="linenum"> 3885</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3886</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3887</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3888</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3889</span>&nbsp;&nbsp;
<span class="linenum"> 3890</span>&nbsp;&nbsp;
<span class="linenum"> 3891</span>&nbsp;&nbsp;ROM_START( newpuckx )
<span class="linenum"> 3892</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3893</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"puckman.6e"</span>,   0x0000, 0x1000, CRC(a8ae23c5) SHA1(1481a4f083b563350744f9d25b1bcd28073875d6) )
<span class="linenum"> 3894</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6f"</span>,    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
<span class="linenum"> 3895</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"puckman.6h"</span>,   0x2000, 0x1000, CRC(197443f8) SHA1(119aab12a9e1052c7b9a1f81e563740b41429a8c) )
<span class="linenum"> 3896</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"puckman.6j"</span>,   0x3000, 0x1000, CRC(2e64a3ba) SHA1(f86a921173f32211b18d023c2701664d13ae23be) )
<span class="linenum"> 3897</span>&nbsp;&nbsp;
<span class="linenum"> 3898</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3899</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5e"</span>,    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
<span class="linenum"> 3900</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5f"</span>,    0x1000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
<span class="linenum"> 3901</span>&nbsp;&nbsp;
<span class="linenum"> 3902</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3903</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3904</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3905</span>&nbsp;&nbsp;
<span class="linenum"> 3906</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3907</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3908</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3909</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3910</span>&nbsp;&nbsp;
<span class="linenum"> 3911</span>&nbsp;&nbsp;
<span class="linenum"> 3912</span>&nbsp;&nbsp;ROM_START( pacheart )
<span class="linenum"> 3913</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3914</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart1.6e"</span>, 0x0000, 0x0800, CRC(d844b679) SHA1(c4486198b3126bb8e05a308c53787e51065f77ae) )
<span class="linenum"> 3915</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart.pg2"</span>, 0x0800, 0x0800, CRC(b9152a38) SHA1(b6be2cb6bc7dd123503eb6bf1165dd1c99456813) )
<span class="linenum"> 3916</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart2.6f"</span>, 0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
<span class="linenum"> 3917</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart.pg4"</span>, 0x1800, 0x0800, CRC(842d6574) SHA1(40e32d09cc8d701eb318716493a68cf3f95d3d6d) )
<span class="linenum"> 3918</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart3.6h"</span>, 0x2000, 0x0800, CRC(9045a44c) SHA1(a97d7016effbd2ace9a7d92ceb04a6ce18fb42f9) )
<span class="linenum"> 3919</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart7.6n"</span>, 0x2800, 0x0800, CRC(888f3c3e) SHA1(c2b5917bf13071131dd53ea76f0da86706db2d80) )
<span class="linenum"> 3920</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart.pg7"</span>, 0x3000, 0x0800, CRC(f5265c10) SHA1(9a320790d7a03fd6192a92d30b3e9c754bbc6a9d) )
<span class="linenum"> 3921</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart.pg8"</span>, 0x3800, 0x0800, CRC(1a21a381) SHA1(d5367a327d19fb57ba5e484bd4fda1b10953c040) )
<span class="linenum"> 3922</span>&nbsp;&nbsp;
<span class="linenum"> 3923</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3924</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart.ch1"</span>, 0x0000, 0x0800, CRC(c62bbabf) SHA1(f6f28ae33c2ab274105283b22b49ad243780a95e) )
<span class="linenum"> 3925</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"chg2"</span>,         0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
<span class="linenum"> 3926</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart.ch3"</span>, 0x1000, 0x0800, CRC(ca8c184c) SHA1(833aa845824ed80777b62f03df36a920ad7c3656) )
<span class="linenum"> 3927</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacheart.ch4"</span>, 0x1800, 0x0800, CRC(1b1d9096) SHA1(53771c573051db43e7185b1d188533056290a620) )
<span class="linenum"> 3928</span>&nbsp;&nbsp;
<span class="linenum"> 3929</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3930</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3931</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3932</span>&nbsp;&nbsp;
<span class="linenum"> 3933</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3934</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3935</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3936</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3937</span>&nbsp;&nbsp;
<span class="linenum"> 3938</span>&nbsp;&nbsp;ROM_START( bucaner )
<span class="linenum"> 3939</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3940</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc1.6e"</span>,      0x0000, 0x0800, CRC(2c0fa0ab) SHA1(37680e4502771ae69d51d07ce43f65b9b2dd2a49) )
<span class="linenum"> 3941</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc5.6k"</span>,      0x0800, 0x0800, CRC(afeca2f1) SHA1(1e6d6c75eeb3a354ce2dc88da62caf9e7d53d0cb) )
<span class="linenum"> 3942</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc2.6f"</span>,      0x1000, 0x0800, CRC(6b53ada9) SHA1(a905688b389bfbc6792965d8f3d5bb1b9f0f4ec6) )
<span class="linenum"> 3943</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc6.6m"</span>,      0x1800, 0x0800, CRC(35f3ca84) SHA1(3da7336caa0742ea79f1e0e8f6b80f8560507a33) )
<span class="linenum"> 3944</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc3.6h"</span>,      0x2000, 0x0800, CRC(9045a44c) SHA1(a97d7016effbd2ace9a7d92ceb04a6ce18fb42f9) )
<span class="linenum"> 3945</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc7.6n"</span>,      0x2800, 0x0800, CRC(888f3c3e) SHA1(c2b5917bf13071131dd53ea76f0da86706db2d80) )
<span class="linenum"> 3946</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc4.6j"</span>,      0x3000, 0x0800, CRC(292de161) SHA1(09b439c301d7bedb76c1590e937e9d8d5e24a048) )
<span class="linenum"> 3947</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc8.6p"</span>,      0x3800, 0x0800, CRC(884af858) SHA1(bad8b0dfdaf221dff0f84928f20873b01a168be5) )
<span class="linenum"> 3948</span>&nbsp;&nbsp;
<span class="linenum"> 3949</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3950</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc9.5e"</span>,      0x0000, 0x0800, CRC(4060c077) SHA1(78d4aa5243246f73533fc0886438dc1fa6f7ebe5) )
<span class="linenum"> 3951</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc11.5h"</span>,     0x0800, 0x0800, CRC(e3861283) SHA1(61cf8ed24902910e98438d9e2e2745f226ad2a13) )
<span class="linenum"> 3952</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc10.5f"</span>,     0x1000, 0x0800, CRC(09f66dec) SHA1(2d3649341fed19bac15ec274f7d747de46a3edb2) )
<span class="linenum"> 3953</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"buc12.5j"</span>,     0x1800, 0x0800, CRC(653314e7) SHA1(c466a421917b3502e9115ebda1b2d11f7f586de8) )
<span class="linenum"> 3954</span>&nbsp;&nbsp;
<span class="linenum"> 3955</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3956</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3957</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3958</span>&nbsp;&nbsp;
<span class="linenum"> 3959</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3960</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3961</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3962</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3963</span>&nbsp;&nbsp;
<span class="linenum"> 3964</span>&nbsp;&nbsp;ROM_START( joyman )
<span class="linenum"> 3965</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 3966</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy1.6e"</span>,      0x0000, 0x0800, CRC(d844b679) SHA1(c4486198b3126bb8e05a308c53787e51065f77ae) )
<span class="linenum"> 3967</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy5.6k"</span>,      0x0800, 0x0800, CRC(ab9c8f29) SHA1(3753b8609c30d85d89acf745cf9303b77be440fd) )
<span class="linenum"> 3968</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy2.6f"</span>,      0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
<span class="linenum"> 3969</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy6.6m"</span>,      0x1800, 0x0800, CRC(b3c8d32e) SHA1(8b336fca1300820308cd5c4efc60bf2ba4199302) )
<span class="linenum"> 3970</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy3.6h"</span>,      0x2000, 0x0800, CRC(9045a44c) SHA1(a97d7016effbd2ace9a7d92ceb04a6ce18fb42f9) )
<span class="linenum"> 3971</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy7.6n"</span>,      0x2800, 0x0800, CRC(888f3c3e) SHA1(c2b5917bf13071131dd53ea76f0da86706db2d80) )
<span class="linenum"> 3972</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy4.6j"</span>,      0x3000, 0x0800, CRC(00b553f8) SHA1(57f2e4a6da9f00935fead447b2123a8b95e5d672) )
<span class="linenum"> 3973</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy8.6p"</span>,      0x3800, 0x0800, CRC(5d5ce992) SHA1(ced7ed39cfc7ec7b2c0459e275577976109ee82f) )
<span class="linenum"> 3974</span>&nbsp;&nbsp;
<span class="linenum"> 3975</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 3976</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy9.5e"</span>,      0x0000, 0x0800, CRC(39b557bc) SHA1(0f602ec84cb25fced89699e430b95b5ae93c83bd) )
<span class="linenum"> 3977</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy11.5h"</span>,     0x0800, 0x0800, CRC(33e0289e) SHA1(c1b910bdc61e560a8c34298deb11401f718e7330) )
<span class="linenum"> 3978</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy10.5f"</span>,     0x1000, 0x0800, CRC(338771a6) SHA1(7cd68cc428986255d0de29aae894900519e7fda5) )
<span class="linenum"> 3979</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"joy12.5j"</span>,     0x1800, 0x0800, CRC(f4f0add5) SHA1(d71c54ef55a755ec1316623d183b4f615ef7c055) )
<span class="linenum"> 3980</span>&nbsp;&nbsp;
<span class="linenum"> 3981</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 3982</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 3983</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 3984</span>&nbsp;&nbsp;
<span class="linenum"> 3985</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 3986</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 3987</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 3988</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 3989</span>&nbsp;&nbsp;
<span class="linenum"> 3990</span>&nbsp;&nbsp;
<span class="linenum"> 3991</span>&nbsp;&nbsp;ROM_START( piranha )
<span class="linenum"> 3992</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 3993</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir1.bin"</span>, 0x0000, 0x0800, CRC(69a3e6ea) SHA1(c54e5d039a03d3cbee7a5e21bf1e23f4fd913ea6) )
<span class="linenum"> 3994</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir5.bin"</span>, 0x0800, 0x0800, CRC(245e753f) SHA1(4c1183b8449e4e7995f81079953fe0e251251c60) )
<span class="linenum"> 3995</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir2.bin"</span>, 0x1000, 0x0800, CRC(62cb6954) SHA1(0e01c8463b130ab5518ce23368ad028c86cd0a32) )
<span class="linenum"> 3996</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir6.bin"</span>, 0x1800, 0x0800, CRC(cb0700bc) SHA1(1f5e91791ea25eb58d26b9627e98e0b6c1d9becf) )
<span class="linenum"> 3997</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir3.bin"</span>, 0x2000, 0x0800, CRC(843fbfe5) SHA1(6671a3c55ef70447f2a127438e0c39857f8bf6b1) )
<span class="linenum"> 3998</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir7.bin"</span>, 0x2800, 0x0800, CRC(73084d5e) SHA1(cb04a4c9dbf1672ddf478d2fe92b0ffd0159bb9e) )
<span class="linenum"> 3999</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir4.bin"</span>, 0x3000, 0x0800, CRC(4cdf6704) SHA1(97af8bbd08896dffd73e359ec46843dd673c4c9c) )
<span class="linenum"> 4000</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir8.bin"</span>, 0x3800, 0x0800, CRC(b86fedb3) SHA1(f5eaf7ccc1ecaa2417bcc077561efca8e7cb691a) )
<span class="linenum"> 4001</span>&nbsp;&nbsp;
<span class="linenum"> 4002</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 4003</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir9.bin"</span>,  0x0000, 0x0800, CRC(0f19eb28) SHA1(0335189a06be01b97ca376d3682ed54df9b121e8) )
<span class="linenum"> 4004</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir11.bin"</span>, 0x0800, 0x0800, CRC(5f8bdabe) SHA1(eb6a0515a381a885b087d165aaefb0277a223715) )
<span class="linenum"> 4005</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir10.bin"</span>, 0x1000, 0x0800, CRC(d19399fb) SHA1(c0a75a08f77adb9d0010511c4b6ea99324c33c50) )
<span class="linenum"> 4006</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir12.bin"</span>, 0x1800, 0x0800, CRC(cfb4403d) SHA1(1642a4917be0621ebf5f705c7f68a2b75d1c78d3) )
<span class="linenum"> 4007</span>&nbsp;&nbsp;
<span class="linenum"> 4008</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4009</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4010</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"piranha.4a"</span>, 0x0020, 0x0100, CRC(08c9447b) SHA1(5e4fbfcc7179fc4b1436af9bb709ffc381479315) )
<span class="linenum"> 4011</span>&nbsp;&nbsp;
<span class="linenum"> 4012</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4013</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4014</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4015</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4016</span>&nbsp;&nbsp;
<span class="linenum"> 4017</span>&nbsp;&nbsp;ROM_START( piranhao )
<span class="linenum"> 4018</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 4019</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p1.bin"</span>, 0x0000, 0x0800, CRC(c6ce1bfc) SHA1(da145d67331cee292654a185fb09e773dd9d40cd) )
<span class="linenum"> 4020</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p5.bin"</span>, 0x0800, 0x0800, CRC(a2655a33) SHA1(2253dcf5c8cbe278118aa1569cf456b13d8cf029) )
<span class="linenum"> 4021</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir2.bin"</span>, 0x1000, 0x0800, CRC(62cb6954) SHA1(0e01c8463b130ab5518ce23368ad028c86cd0a32) )
<span class="linenum"> 4022</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir6.bin"</span>, 0x1800, 0x0800, CRC(cb0700bc) SHA1(1f5e91791ea25eb58d26b9627e98e0b6c1d9becf) )
<span class="linenum"> 4023</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir3.bin"</span>, 0x2000, 0x0800, CRC(843fbfe5) SHA1(6671a3c55ef70447f2a127438e0c39857f8bf6b1) )
<span class="linenum"> 4024</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pir7.bin"</span>, 0x2800, 0x0800, CRC(73084d5e) SHA1(cb04a4c9dbf1672ddf478d2fe92b0ffd0159bb9e) )
<span class="linenum"> 4025</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p4.bin"</span>, 0x3000, 0x0800, CRC(9363a4d1) SHA1(4cb4a86d92a1f9bf233cac01aa266485a8bb7a34) )
<span class="linenum"> 4026</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p8.bin"</span>, 0x3800, 0x0800, CRC(2769979c) SHA1(581592da26199b325de51791ddab66b474ab0413) )
<span class="linenum"> 4027</span>&nbsp;&nbsp;
<span class="linenum"> 4028</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0 )
<span class="linenum"> 4029</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p9.bin"</span>,  0x0000, 0x0800, CRC(94eb7563) SHA1(c99741ce1aebdfb89628fbfaecf5ae6b2719a0ca) )
<span class="linenum"> 4030</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p11.bin"</span>, 0x0800, 0x0800, CRC(a3606973) SHA1(72297e1a33102c6a48b4c65f2a0b9bfc75a2df36) )
<span class="linenum"> 4031</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p10.bin"</span>, 0x1000, 0x0800, CRC(84165a2c) SHA1(95b24620fbf9bd0ec4dd2aeeb6d9305bd475dce2) )
<span class="linenum"> 4032</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p12.bin"</span>, 0x1800, 0x0800, CRC(2699ba9e) SHA1(b91ff586defe65b200bea5ade7374c2c7579cd80) )
<span class="linenum"> 4033</span>&nbsp;&nbsp;
<span class="linenum"> 4034</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4035</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4036</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"piranha.4a"</span>, 0x0020, 0x0100, CRC(08c9447b) SHA1(5e4fbfcc7179fc4b1436af9bb709ffc381479315) )
<span class="linenum"> 4037</span>&nbsp;&nbsp;
<span class="linenum"> 4038</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4039</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4040</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4041</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4042</span>&nbsp;&nbsp;
<span class="linenum"> 4043</span>&nbsp;&nbsp;ROM_START( piranhah )
<span class="linenum"> 4044</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4045</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr1.cpu"</span>,      0x0000, 0x1000, CRC(bc5ad024) SHA1(a3ed781b514a1068b24a7146a28f0a2adfaa2719) )
<span class="linenum"> 4046</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6f"</span>,    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
<span class="linenum"> 4047</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr3.cpu"</span>,      0x2000, 0x1000, CRC(473c379d) SHA1(6e7985367c3e544b4cb98ba8291908df88eafe7f) )
<span class="linenum"> 4048</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr4.cpu"</span>,      0x3000, 0x1000, CRC(63fbf895) SHA1(d328bf3b8f307fb774614834edec211117148e64) )
<span class="linenum"> 4049</span>&nbsp;&nbsp;
<span class="linenum"> 4050</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4051</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr5.cpu"</span>,      0x0000, 0x0800, CRC(3fc4030c) SHA1(5e45f0c19cf96daa17afd2fa1c628d7ac7f4a79c) )
<span class="linenum"> 4052</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr7.cpu"</span>,      0x0800, 0x0800, CRC(30b9a010) SHA1(b0ba8b6cd430feb32d11d092e1959b9f5d240f1b) )
<span class="linenum"> 4053</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr6.cpu"</span>,      0x1000, 0x0800, CRC(f3e9c9d5) SHA1(709a75b2457f21f0f1a3d9e7f4c8579468ee5cad) )
<span class="linenum"> 4054</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr8.cpu"</span>,      0x1800, 0x0800, CRC(133d720d) SHA1(8af75ed9e115a996379acedd44d0c09332ec5a03) )
<span class="linenum"> 4055</span>&nbsp;&nbsp;
<span class="linenum"> 4056</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4057</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4058</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4059</span>&nbsp;&nbsp;
<span class="linenum"> 4060</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4061</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4062</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4063</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4064</span>&nbsp;&nbsp;
<span class="linenum"> 4065</span>&nbsp;&nbsp;ROM_START( abscam )
<span class="linenum"> 4066</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 4067</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as0.bin"</span>, 0x0000, 0x0800, CRC(0b102302) SHA1(97f6399182db4f84efe482bf3a710aa45ca104ec) )
<span class="linenum"> 4068</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as4.bin"</span>, 0x0800, 0x0800, CRC(3116a8ec) SHA1(259169bcc8fbe9fc73ca5100c3835a233351f530) )
<span class="linenum"> 4069</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as1.bin"</span>, 0x1000, 0x0800, CRC(bc0281e0) SHA1(bcc6d63ede728d9b29f903489bfa80d94ec5cc00) )
<span class="linenum"> 4070</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as5.bin"</span>, 0x1800, 0x0800, CRC(428ee2e8) SHA1(1477d1a86b32483ac0fdeea93512f517c9f66ce2) )
<span class="linenum"> 4071</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as2.bin"</span>, 0x2000, 0x0800, CRC(e05d46ad) SHA1(87da57dbbe6ab5e1dd005fd68a982f1df917459c) )
<span class="linenum"> 4072</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as6.bin"</span>, 0x2800, 0x0800, CRC(3ae9a8cb) SHA1(72896ad32cbdde90793788182958a943e35672f9) )
<span class="linenum"> 4073</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as3.bin"</span>, 0x3000, 0x0800, CRC(b39eb940) SHA1(e144a1553c76ddee1c22ad1ed0cca241c2d03998) )
<span class="linenum"> 4074</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as7.bin"</span>, 0x3800, 0x0800, CRC(16cf1c67) SHA1(0015fe64d476de87f1a030e7f2e735380dfcfd41) )
<span class="linenum"> 4075</span>&nbsp;&nbsp;
<span class="linenum"> 4076</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 4077</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as8.bin"</span>,  0x0000, 0x0800, CRC(61daabe5) SHA1(00503916d1d1011afe68898e3416718c0e63a298) )
<span class="linenum"> 4078</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as10.bin"</span>, 0x0800, 0x0800, CRC(81d50c98) SHA1(6b61c666f68b5948e4facb8bac1378f986f993a7) )
<span class="linenum"> 4079</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as9.bin"</span>, 0x1000, 0x0800, CRC(a3bd1613) SHA1(c59bb0a4d1fa5cbe596f41ee7b1a4a661ab5614b) )
<span class="linenum"> 4080</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as11.bin"</span>, 0x1800, 0x0800, CRC(9d802b68) SHA1(4e8f37c2faedcfce91221a34c14f6490d578c80a) )
<span class="linenum"> 4081</span>&nbsp;&nbsp;
<span class="linenum"> 4082</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4083</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4084</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"as4a.bin"</span>, 0x0020, 0x0100, CRC(1605b324) SHA1(336fce22caedbe69bcba9cea2b43e00f6f8e8067) )
<span class="linenum"> 4085</span>&nbsp;&nbsp;
<span class="linenum"> 4086</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4087</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4088</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4089</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4090</span>&nbsp;&nbsp;
<span class="linenum"> 4091</span>&nbsp;&nbsp;
<span class="linenum"> 4092</span>&nbsp;&nbsp;ROM_START( ctrpllrp )
<span class="linenum"> 4093</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 4094</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c1.bin"</span>, 0x0000, 0x0800, CRC(9d027c4a) SHA1(88e094880057451a75cdc2ce9477403021813982) )
<span class="linenum"> 4095</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c5.bin"</span>, 0x0800, 0x0800, CRC(f39846d3) SHA1(bc1137a45898210523cf8da1e6a2425e7c322884) )
<span class="linenum"> 4096</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c2.bin"</span>, 0x1000, 0x0800, CRC(afa149a8) SHA1(207b842854ac9e015e12a2dae41105438cda1df9) )
<span class="linenum"> 4097</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c6.bin"</span>, 0x1800, 0x0800, CRC(baf5461e) SHA1(754586a6449fd54a342f260e572c1cd60ab70815) )
<span class="linenum"> 4098</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c3.bin"</span>, 0x2000, 0x0800, CRC(6bb282a1) SHA1(a96f25dc0f49ebe7e528e3297a112d778c6c3030) )
<span class="linenum"> 4099</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c7.bin"</span>, 0x2800, 0x0800, CRC(fa2140f5) SHA1(123d31e653e8af78c6153702eca2e136c427ed64) )
<span class="linenum"> 4100</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c4.bin"</span>, 0x3000, 0x0800, CRC(86c91e0e) SHA1(52af6a3af5b1363859f790470ca5860ef2a08566) )
<span class="linenum"> 4101</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c8.bin"</span>, 0x3800, 0x0800, CRC(3d28134e) SHA1(45a257a0aca74e2ab36dd70097220d8be29cc87b) )
<span class="linenum"> 4102</span>&nbsp;&nbsp;
<span class="linenum"> 4103</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 4104</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c9.bin"</span>, 0x0000, 0x0800, CRC(1c4617be) SHA1(2b2b10f1256b4612e3e01ed1c8e2d7ccb6989f5d) )
<span class="linenum"> 4105</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c11.bin"</span>, 0x0800, 0x0800, CRC(46f72fef) SHA1(daf334c78fdb73d43d524b733b763b290c602ae2) )
<span class="linenum"> 4106</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c10.bin"</span>, 0x1000, 0x0800, CRC(ba9ec199) SHA1(626ab2eedf4c8d307dfad3b8863a67f8c34dda97) )
<span class="linenum"> 4107</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c12.bin"</span>, 0x1800, 0x0800, CRC(41c09655) SHA1(cc639e660443b9dcb33f9aefe9af5d332591c466) )
<span class="linenum"> 4108</span>&nbsp;&nbsp;
<span class="linenum"> 4109</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4110</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4111</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>, 0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4112</span>&nbsp;&nbsp;
<span class="linenum"> 4113</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4114</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4115</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4116</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4117</span>&nbsp;&nbsp;
<span class="linenum"> 4118</span>&nbsp;&nbsp;
<span class="linenum"> 4119</span>&nbsp;&nbsp;ROM_START( pacplus )
<span class="linenum"> 4120</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4121</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacplus.6e"</span>,   0x0000, 0x1000, CRC(d611ef68) SHA1(8531c54ca6b0de0ea4ccc34e0e801ba9847e75bc) )
<span class="linenum"> 4122</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacplus.6f"</span>,   0x1000, 0x1000, CRC(c7207556) SHA1(8ba97215bdb75f0e70eb8d3223847efe4dc4fb48) )
<span class="linenum"> 4123</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacplus.6h"</span>,   0x2000, 0x1000, CRC(ae379430) SHA1(4e8613d51a80cf106f883db79685e1e22541da45) )
<span class="linenum"> 4124</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacplus.6j"</span>,   0x3000, 0x1000, CRC(5a6dff7b) SHA1(b956ae5d66683aab74b90469ad36b5bb361d677e) )
<span class="linenum"> 4125</span>&nbsp;&nbsp;
<span class="linenum"> 4126</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4127</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacplus.5e"</span>,   0x0000, 0x1000, CRC(022c35da) SHA1(57d7d723c7b029e3415801f4ce83469ec97bb8a1) )
<span class="linenum"> 4128</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacplus.5f"</span>,   0x1000, 0x1000, CRC(4de65cdd) SHA1(9c0699204484be819b77f0b212c792fe9e9fae5d) )
<span class="linenum"> 4129</span>&nbsp;&nbsp;
<span class="linenum"> 4130</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4131</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacplus.7f"</span>,   0x0000, 0x0020, CRC(063dd53a) SHA1(2e43b46ec3b101d1babab87cdaddfa944116ec06) )
<span class="linenum"> 4132</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacplus.4a"</span>,   0x0020, 0x0100, CRC(e271a166) SHA1(cf006536215a7a1d488eebc1d8a2e2a8134ce1a6) )
<span class="linenum"> 4133</span>&nbsp;&nbsp;
<span class="linenum"> 4134</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4135</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4136</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4137</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4138</span>&nbsp;&nbsp;
<span class="linenum"> 4139</span>&nbsp;&nbsp;
<span class="linenum"> 4140</span>&nbsp;&nbsp;ROM_START( mspacman )
<span class="linenum"> 4141</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 ) <span class="comment">/* 64k for code+64k for decrypted code */</span>
<span class="linenum"> 4142</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6e"</span>,    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
<span class="linenum"> 4143</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6f"</span>,    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
<span class="linenum"> 4144</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6h"</span>,    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
<span class="linenum"> 4145</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6j"</span>,    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
<span class="linenum"> 4146</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u5"</span>,           0x8000, 0x0800, CRC(f45fbbcd) SHA1(b26cc1c8ee18e9b1daa97956d2159b954703a0ec) )
<span class="linenum"> 4147</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u6"</span>,           0x9000, 0x1000, CRC(a90e7000) SHA1(e4df96f1db753533f7d770aa62ae1973349ea4cf) )
<span class="linenum"> 4148</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u7"</span>,           0xb000, 0x1000, CRC(c82cd714) SHA1(1d8ac7ad03db2dc4c8c18ade466e12032673f874) )
<span class="linenum"> 4149</span>&nbsp;&nbsp;
<span class="linenum"> 4150</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4151</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
<span class="linenum"> 4152</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
<span class="linenum"> 4153</span>&nbsp;&nbsp;
<span class="linenum"> 4154</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4155</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4156</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4157</span>&nbsp;&nbsp;
<span class="linenum"> 4158</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4159</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4160</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4161</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4162</span>&nbsp;&nbsp;
<span class="linenum"> 4163</span>&nbsp;&nbsp;
<span class="linenum"> 4164</span>&nbsp;&nbsp;ROM_START( mspacmnf )
<span class="linenum"> 4165</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 ) <span class="comment">/* 64k for code+64k for decrypted code */</span>
<span class="linenum"> 4166</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6e"</span>,    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
<span class="linenum"> 4167</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacfast.6f"</span>,   0x1000, 0x1000, CRC(720dc3ee) SHA1(7224d7acfa0144b681c71d7734a7337189835361) )
<span class="linenum"> 4168</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6h"</span>,    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
<span class="linenum"> 4169</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6j"</span>,    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
<span class="linenum"> 4170</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u5"</span>,           0x8000, 0x0800, CRC(f45fbbcd) SHA1(b26cc1c8ee18e9b1daa97956d2159b954703a0ec) )
<span class="linenum"> 4171</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u6"</span>,           0x9000, 0x1000, CRC(a90e7000) SHA1(e4df96f1db753533f7d770aa62ae1973349ea4cf) )
<span class="linenum"> 4172</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u7"</span>,           0xb000, 0x1000, CRC(c82cd714) SHA1(1d8ac7ad03db2dc4c8c18ade466e12032673f874) )
<span class="linenum"> 4173</span>&nbsp;&nbsp;
<span class="linenum"> 4174</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4175</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
<span class="linenum"> 4176</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
<span class="linenum"> 4177</span>&nbsp;&nbsp;
<span class="linenum"> 4178</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4179</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4180</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4181</span>&nbsp;&nbsp;
<span class="linenum"> 4182</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4183</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4184</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4185</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4186</span>&nbsp;&nbsp;
<span class="linenum"> 4187</span>&nbsp;&nbsp;
<span class="linenum"> 4188</span>&nbsp;&nbsp;ROM_START( mspacmab )
<span class="linenum"> 4189</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4190</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot1"</span>,        0x0000, 0x1000, CRC(d16b31b7) SHA1(bc2247ec946b639dd1f00bfc603fa157d0baaa97) )
<span class="linenum"> 4191</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot2"</span>,        0x1000, 0x1000, CRC(0d32de5e) SHA1(13ea0c343de072508908be885e6a2a217bbb3047) )
<span class="linenum"> 4192</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot3"</span>,        0x2000, 0x1000, CRC(1821ee0b) SHA1(5ea4d907dbb2690698db72c4e0b5be4d3e9a7786) )
<span class="linenum"> 4193</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot4"</span>,        0x3000, 0x1000, CRC(165a9dd8) SHA1(3022a408118fa7420060e32a760aeef15b8a96cf) )
<span class="linenum"> 4194</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot5"</span>,        0x8000, 0x1000, CRC(8c3e6de6) SHA1(fed6e9a2b210b07e7189a18574f6b8c4ec5bb49b) )
<span class="linenum"> 4195</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot6"</span>,        0x9000, 0x1000, CRC(368cb165) SHA1(387010a0c76319a1eab61b54c9bcb5c66c4b67a1) )
<span class="linenum"> 4196</span>&nbsp;&nbsp;
<span class="linenum"> 4197</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4198</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
<span class="linenum"> 4199</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
<span class="linenum"> 4200</span>&nbsp;&nbsp;
<span class="linenum"> 4201</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4202</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4203</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4204</span>&nbsp;&nbsp;
<span class="linenum"> 4205</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4206</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4207</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4208</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4209</span>&nbsp;&nbsp;
<span class="linenum"> 4210</span>&nbsp;&nbsp;
<span class="linenum"> 4211</span>&nbsp;&nbsp;ROM_START( mspacmbe )
<span class="linenum"> 4212</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4213</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot1"</span>,        0x0000, 0x1000, CRC(d16b31b7) SHA1(bc2247ec946b639dd1f00bfc603fa157d0baaa97) )
<span class="linenum"> 4214</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2.bin"</span>,        0x1000, 0x1000, CRC(04e6c486) SHA1(63aa3e6c49d345cccfe87dd3fdcddc75ab4a570d) )
<span class="linenum"> 4215</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot3"</span>,        0x2000, 0x1000, CRC(1821ee0b) SHA1(5ea4d907dbb2690698db72c4e0b5be4d3e9a7786) )
<span class="linenum"> 4216</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot4"</span>,        0x3000, 0x1000, CRC(165a9dd8) SHA1(3022a408118fa7420060e32a760aeef15b8a96cf) )
<span class="linenum"> 4217</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot5"</span>,        0x8000, 0x1000, CRC(8c3e6de6) SHA1(fed6e9a2b210b07e7189a18574f6b8c4ec5bb49b) )
<span class="linenum"> 4218</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6.bin"</span>,        0x9000, 0x1000, CRC(206a9623) SHA1(20006f945c1b7b0e3c0415eecc0b148e5a6a1dfa) )
<span class="linenum"> 4219</span>&nbsp;&nbsp;
<span class="linenum"> 4220</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4221</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
<span class="linenum"> 4222</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
<span class="linenum"> 4223</span>&nbsp;&nbsp;
<span class="linenum"> 4224</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4225</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4226</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4227</span>&nbsp;&nbsp;
<span class="linenum"> 4228</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4229</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4230</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4231</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4232</span>&nbsp;&nbsp;
<span class="linenum"> 4233</span>&nbsp;&nbsp;
<span class="linenum"> 4234</span>&nbsp;&nbsp;ROM_START( mspacii )
<span class="linenum"> 4235</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4236</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p3.6e"</span>,        0x0000, 0x1000, CRC(df673b57) SHA1(93ee4e8f9751db5f7d3c35988fcb8ae8037464ed) )
<span class="linenum"> 4237</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p4.6f"</span>,        0x1000, 0x1000, CRC(7591f606) SHA1(0aead0ac5af602269df8732c5763147cdb543b8d) )
<span class="linenum"> 4238</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p5.6h"</span>,        0x2000, 0x1000, CRC(c8ef1a7f) SHA1(0c9a28bbe63d7d44511a13316937a21b8846543e) )
<span class="linenum"> 4239</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p6.6j"</span>,        0x3000, 0x1000, CRC(d498f435) SHA1(c041841b1349d8d5c2d560aed54c4aeb8adfddb8) )
<span class="linenum"> 4240</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p7.s1"</span>,        0x8000, 0x1000, CRC(fbbc3d2e) SHA1(dc4337d7f0961e048a433021f670da6d314bd663) )
<span class="linenum"> 4241</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p8.s2"</span>,        0x9000, 0x1000, CRC(aba3096d) SHA1(661e28785931fa329c2ebdc95d78072a42c512ff) )
<span class="linenum"> 4242</span>&nbsp;&nbsp;
<span class="linenum"> 4243</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4244</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p1.5e"</span>,        0x0000, 0x1000, CRC(04333722) SHA1(bb179d5302b26b815b5d7eff14865e7b4f8a6880) )
<span class="linenum"> 4245</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p2.5f"</span>,        0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
<span class="linenum"> 4246</span>&nbsp;&nbsp;
<span class="linenum"> 4247</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4248</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4249</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4250</span>&nbsp;&nbsp;
<span class="linenum"> 4251</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4252</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4253</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4254</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4255</span>&nbsp;&nbsp;
<span class="linenum"> 4256</span>&nbsp;&nbsp;
<span class="linenum"> 4257</span>&nbsp;&nbsp;ROM_START( mspacii2 )
<span class="linenum"> 4258</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4259</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p3.bin"</span>,       0x0000, 0x1000, CRC(df673b57) SHA1(93ee4e8f9751db5f7d3c35988fcb8ae8037464ed) )
<span class="linenum"> 4260</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p4.bin"</span>,       0x1000, 0x1000, CRC(7591f606) SHA1(0aead0ac5af602269df8732c5763147cdb543b8d) )
<span class="linenum"> 4261</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p5.bin"</span>,       0x2000, 0x1000, CRC(c8ef1a7f) SHA1(0c9a28bbe63d7d44511a13316937a21b8846543e) )
<span class="linenum"> 4262</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p6.bin"</span>,       0x3000, 0x1000, CRC(d498f435) SHA1(c041841b1349d8d5c2d560aed54c4aeb8adfddb8) )
<span class="linenum"> 4263</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p2.bin"</span>,       0x8000, 0x1000, CRC(fbbc3d2e) SHA1(dc4337d7f0961e048a433021f670da6d314bd663) )
<span class="linenum"> 4264</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p1.bin"</span>,       0x9000, 0x1000, CRC(aa3887c5) SHA1(0e20cb686383156a9883749568c8e57c15c3ae44) )
<span class="linenum"> 4265</span>&nbsp;&nbsp;
<span class="linenum"> 4266</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4267</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p7.bin"</span>,       0x0000, 0x1000, CRC(04333722) SHA1(bb179d5302b26b815b5d7eff14865e7b4f8a6880) )
<span class="linenum"> 4268</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p8.bin"</span>,       0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
<span class="linenum"> 4269</span>&nbsp;&nbsp;
<span class="linenum"> 4270</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4271</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4272</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4273</span>&nbsp;&nbsp;
<span class="linenum"> 4274</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4275</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4276</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4277</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4278</span>&nbsp;&nbsp;
<span class="linenum"> 4279</span>&nbsp;&nbsp;
<span class="linenum"> 4280</span>&nbsp;&nbsp;ROM_START( mspacmat )
<span class="linenum"> 4281</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 ) <span class="comment">/* 64k for code+64k for decrypted code */</span>
<span class="linenum"> 4282</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6e"</span>,    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
<span class="linenum"> 4283</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6f"</span>,    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
<span class="linenum"> 4284</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6h"</span>,    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
<span class="linenum"> 4285</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6j"</span>,    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
<span class="linenum"> 4286</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u5"</span>,           0x8000, 0x0800, CRC(f45fbbcd) SHA1(b26cc1c8ee18e9b1daa97956d2159b954703a0ec) )
<span class="linenum"> 4287</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u6pacatk"</span>,     0x9000, 0x1000, CRC(f6d83f4d) SHA1(6135b187d6b968554d08f2ac00d3a3313efb8638) )
<span class="linenum"> 4288</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u7"</span>,           0xb000, 0x1000, CRC(c82cd714) SHA1(1d8ac7ad03db2dc4c8c18ade466e12032673f874) )
<span class="linenum"> 4289</span>&nbsp;&nbsp;
<span class="linenum"> 4290</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4291</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
<span class="linenum"> 4292</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
<span class="linenum"> 4293</span>&nbsp;&nbsp;
<span class="linenum"> 4294</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4295</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4296</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4297</span>&nbsp;&nbsp;
<span class="linenum"> 4298</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4299</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4300</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4301</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4302</span>&nbsp;&nbsp;
<span class="linenum"> 4303</span>&nbsp;&nbsp;
<span class="linenum"> 4304</span>&nbsp;&nbsp;<span class="comment">// a graphics-only hack for Ms. Pac-Man that was sold as romkit by Two-Bit Score back in 1989</span>
<span class="linenum"> 4305</span>&nbsp;&nbsp;ROM_START( msheartb )
<span class="linenum"> 4306</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 ) <span class="comment">/* 64k for code+64k for decrypted code */</span>
<span class="linenum"> 4307</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6e"</span>,    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
<span class="linenum"> 4308</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6f"</span>,    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
<span class="linenum"> 4309</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6h"</span>,    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
<span class="linenum"> 4310</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.6j"</span>,    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
<span class="linenum"> 4311</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u5"</span>,           0x8000, 0x0800, CRC(f45fbbcd) SHA1(b26cc1c8ee18e9b1daa97956d2159b954703a0ec) )
<span class="linenum"> 4312</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u6"</span>,           0x9000, 0x1000, CRC(a90e7000) SHA1(e4df96f1db753533f7d770aa62ae1973349ea4cf) )
<span class="linenum"> 4313</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"u7"</span>,           0xb000, 0x1000, CRC(c82cd714) SHA1(1d8ac7ad03db2dc4c8c18ade466e12032673f874) )
<span class="linenum"> 4314</span>&nbsp;&nbsp;
<span class="linenum"> 4315</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4316</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(5431d4c4) SHA1(34d45da44b4208e2774f5e2af08657a9086252e6) )
<span class="linenum"> 4317</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(ceb50654) SHA1(70dbe3cc715d3d52ee3d4f8dadbf5c59f87166a3) )
<span class="linenum"> 4318</span>&nbsp;&nbsp;
<span class="linenum"> 4319</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4320</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4321</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4322</span>&nbsp;&nbsp;
<span class="linenum"> 4323</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4324</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4325</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4326</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4327</span>&nbsp;&nbsp;
<span class="linenum"> 4328</span>&nbsp;&nbsp;
<span class="linenum"> 4329</span>&nbsp;&nbsp;ROM_START( mspacpls )
<span class="linenum"> 4330</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4331</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot1"</span>,        0x0000, 0x1000, CRC(d16b31b7) SHA1(bc2247ec946b639dd1f00bfc603fa157d0baaa97) )
<span class="linenum"> 4332</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mspacatk.2"</span>,   0x1000, 0x1000, CRC(0af09d31) SHA1(6ff73e4da4910bcd2ca3aa299d8ffad23f8abf79) )
<span class="linenum"> 4333</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot3"</span>,        0x2000, 0x1000, CRC(1821ee0b) SHA1(5ea4d907dbb2690698db72c4e0b5be4d3e9a7786) )
<span class="linenum"> 4334</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot4"</span>,        0x3000, 0x1000, CRC(165a9dd8) SHA1(3022a408118fa7420060e32a760aeef15b8a96cf) )
<span class="linenum"> 4335</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mspacatk.5"</span>,   0x8000, 0x1000, CRC(e6e06954) SHA1(ee5b266b1cc178df31fc1da5f66ef4911c653dda) )
<span class="linenum"> 4336</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mspacatk.6"</span>,   0x9000, 0x1000, CRC(3b5db308) SHA1(c1ba630cb8fb665c4881a6cce9d3b0d4300bd0eb) )
<span class="linenum"> 4337</span>&nbsp;&nbsp;
<span class="linenum"> 4338</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4339</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
<span class="linenum"> 4340</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
<span class="linenum"> 4341</span>&nbsp;&nbsp;
<span class="linenum"> 4342</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4343</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4344</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4345</span>&nbsp;&nbsp;
<span class="linenum"> 4346</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4347</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4348</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4349</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4350</span>&nbsp;&nbsp;
<span class="linenum"> 4351</span>&nbsp;&nbsp;
<span class="linenum"> 4352</span>&nbsp;&nbsp;ROM_START( pacgal )
<span class="linenum"> 4353</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4354</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot1"</span>,        0x0000, 0x1000, CRC(d16b31b7) SHA1(bc2247ec946b639dd1f00bfc603fa157d0baaa97) )
<span class="linenum"> 4355</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot2"</span>,        0x1000, 0x1000, CRC(0d32de5e) SHA1(13ea0c343de072508908be885e6a2a217bbb3047) )
<span class="linenum"> 4356</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.7fh"</span>,   0x2000, 0x1000, CRC(513f4d5c) SHA1(ae011b89422bd8cbb80389814500bc1427f6ecb2) )
<span class="linenum"> 4357</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.7hj"</span>,   0x3000, 0x1000, CRC(70694c8e) SHA1(d0d02f0997b44e1ba5ea27fc3f7af1b956e2a687) )
<span class="linenum"> 4358</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot5"</span>,        0x8000, 0x1000, CRC(8c3e6de6) SHA1(fed6e9a2b210b07e7189a18574f6b8c4ec5bb49b) )
<span class="linenum"> 4359</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"boot6"</span>,        0x9000, 0x1000, CRC(368cb165) SHA1(387010a0c76319a1eab61b54c9bcb5c66c4b67a1) )
<span class="linenum"> 4360</span>&nbsp;&nbsp;
<span class="linenum"> 4361</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4362</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
<span class="linenum"> 4363</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5ef"</span>,   0x1000, 0x0800, CRC(65a3ee71) SHA1(cbbf700eefba2a5bf158983f2ca9688b7c6f5d2b) )
<span class="linenum"> 4364</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pacman.5hj"</span>,   0x1800, 0x0800, CRC(50c7477d) SHA1(c04ec282a8cb528df5e38ad750d12ee71612695d) )
<span class="linenum"> 4365</span>&nbsp;&nbsp;
<span class="linenum"> 4366</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4367</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4368</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.4a"</span>,    0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4369</span>&nbsp;&nbsp;
<span class="linenum"> 4370</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4371</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4372</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4373</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4374</span>&nbsp;&nbsp;
<span class="linenum"> 4375</span>&nbsp;&nbsp;
<span class="linenum"> 4376</span>&nbsp;&nbsp;ROM_START( mschamp ) <span class="comment">/* "Original" Zola-Puc board.  FORCE ELECTRONICS KM-001 PCB copyright by RAYGLO MFG CO  1992/1993 */</span>
<span class="linenum"> 4377</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4378</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"9fg.bin"</span>, 0x10000, 0x10000, CRC(04dba113) SHA1(6260fb58c47a506a60385fb7536fc4fbd8e02c7c) )   <span class="comment">/* banked */</span>
<span class="linenum"> 4379</span>&nbsp;&nbsp;
<span class="linenum"> 4380</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4381</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"8e.bin"</span>,  0x0000, 0x0800, CRC(17435f53) SHA1(e844a7dfdb56a6f6cce5a3cf505d018434294470) )
<span class="linenum"> 4382</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x1000, 0x0800 )
<span class="linenum"> 4383</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x0800, 0x0800 )
<span class="linenum"> 4384</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x1800, 0x0800 )
<span class="linenum"> 4385</span>&nbsp;&nbsp;
<span class="linenum"> 4386</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4387</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4388</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4389</span>&nbsp;&nbsp;
<span class="linenum"> 4390</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )
<span class="linenum"> 4391</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4392</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )
<span class="linenum"> 4393</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4394</span>&nbsp;&nbsp;
<span class="linenum"> 4395</span>&nbsp;&nbsp;
<span class="linenum"> 4396</span>&nbsp;&nbsp;ROM_START( mschamps ) <span class="comment">/* Hack of hack???  Hack of the above "Rayglo" set??? */</span>
<span class="linenum"> 4397</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4398</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm4.bin"</span>, 0x10000, 0x10000, CRC(7d6b6303) SHA1(65ad72a9188422653c02a48c07ed2661e1e36961) )   <span class="comment">/* banked */</span>
<span class="linenum"> 4399</span>&nbsp;&nbsp;
<span class="linenum"> 4400</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4401</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pm5.bin"</span>, 0x0000, 0x0800, CRC(7fe6b9e2) SHA1(bfd0d84c7ef909ae078d8f60340682b3ff230aa6) )
<span class="linenum"> 4402</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x1000, 0x0800 )
<span class="linenum"> 4403</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x0800, 0x0800 )
<span class="linenum"> 4404</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x1800, 0x0800 )
<span class="linenum"> 4405</span>&nbsp;&nbsp;
<span class="linenum"> 4406</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4407</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4408</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4409</span>&nbsp;&nbsp;
<span class="linenum"> 4410</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )
<span class="linenum"> 4411</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4412</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )
<span class="linenum"> 4413</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4414</span>&nbsp;&nbsp;
<span class="linenum"> 4415</span>&nbsp;&nbsp;
<span class="linenum"> 4416</span>&nbsp;&nbsp;ROM_START( superabc )
<span class="linenum"> 4417</span>&nbsp;&nbsp;    ROM_REGION( 0x80000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4418</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"superabc.u14"</span>, 0x00000, 0x80000, CRC(a560efe6) SHA1(c7d43cc3bb3b1b10d06403462276231bfc8542dd) )  <span class="comment">/* banked */</span>
<span class="linenum"> 4419</span>&nbsp;&nbsp;
<span class="linenum"> 4420</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"gfx1"</span>, ROMREGION_ERASE00 ) <span class="comment">// descrambled rom goes here</span>
<span class="linenum"> 4421</span>&nbsp;&nbsp;
<span class="linenum"> 4422</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"user1"</span>, 0 )
<span class="linenum"> 4423</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"char5e5f.u1"</span>,  0x00000, 0x20000, CRC(45caace0) SHA1(f850bd09ec68b0263ac8b30ae38c3878c7978ace) )
<span class="linenum"> 4424</span>&nbsp;&nbsp;
<span class="linenum"> 4425</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )    <span class="comment">/* color PROMs */</span>
<span class="linenum"> 4426</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,  0x0000, 0x0020, CRC(3a188666) SHA1(067386e477ce48bbde3cf71f744a78a42238d236) )
<span class="linenum"> 4427</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.4a"</span>,  0x0020, 0x0100, CRC(4382c049) SHA1(5e535b1a6852260f38ae1e5cd57290a85cb6927f) )
<span class="linenum"> 4428</span>&nbsp;&nbsp;
<span class="linenum"> 4429</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4430</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,  0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4431</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4432</span>&nbsp;&nbsp;
<span class="linenum"> 4433</span>&nbsp;&nbsp;    ROM_REGION( 0x0020, <span class="string">"unknown"</span>, 0 )
<span class="linenum"> 4434</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.u18"</span>, 0x0000, 0x0020, CRC(23b2863c) SHA1(e62f87d2145e94be06dbd90fa8d9a79760bfcc4b) )  <span class="comment">/* prom on daughterboard, unknown function */</span>
<span class="linenum"> 4435</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4436</span>&nbsp;&nbsp;
<span class="linenum"> 4437</span>&nbsp;&nbsp;
<span class="linenum"> 4438</span>&nbsp;&nbsp;ROM_START( superabco )
<span class="linenum"> 4439</span>&nbsp;&nbsp;    ROM_REGION( 0x80000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4440</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"superabc.u14"</span>, 0x00000, 0x80000, CRC(62565ad8) SHA1(cb434c608ee463788b73152d84ce6173bdfa350d) )  <span class="comment">/* banked */</span>
<span class="linenum"> 4441</span>&nbsp;&nbsp;
<span class="linenum"> 4442</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"gfx1"</span>, ROMREGION_ERASE00 ) <span class="comment">// descrambled rom goes here</span>
<span class="linenum"> 4443</span>&nbsp;&nbsp;
<span class="linenum"> 4444</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"user1"</span>, 0 )
<span class="linenum"> 4445</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"char5e5f.u1"</span>,  0x00000, 0x20000, CRC(45caace0) SHA1(f850bd09ec68b0263ac8b30ae38c3878c7978ace) )
<span class="linenum"> 4446</span>&nbsp;&nbsp;
<span class="linenum"> 4447</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )    <span class="comment">/* color PROMs */</span>
<span class="linenum"> 4448</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,  0x0000, 0x0020, CRC(3a188666) SHA1(067386e477ce48bbde3cf71f744a78a42238d236) )
<span class="linenum"> 4449</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.4a"</span>,  0x0020, 0x0100, CRC(4382c049) SHA1(5e535b1a6852260f38ae1e5cd57290a85cb6927f) )
<span class="linenum"> 4450</span>&nbsp;&nbsp;
<span class="linenum"> 4451</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4452</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,  0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4453</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4454</span>&nbsp;&nbsp;
<span class="linenum"> 4455</span>&nbsp;&nbsp;    ROM_REGION( 0x0020, <span class="string">"unknown"</span>, 0 )
<span class="linenum"> 4456</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.u18"</span>, 0x0000, 0x0020, CRC(23b2863c) SHA1(e62f87d2145e94be06dbd90fa8d9a79760bfcc4b) )  <span class="comment">/* prom on daughterboard, unknown function */</span>
<span class="linenum"> 4457</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4458</span>&nbsp;&nbsp;
<span class="linenum"> 4459</span>&nbsp;&nbsp;
<span class="linenum"> 4460</span>&nbsp;&nbsp;ROM_START( crush )
<span class="linenum"> 4461</span>&nbsp;&nbsp;    ROM_REGION( 2*0x10000, <span class="string">"maincpu"</span>, 0 )   <span class="comment">/* 64k for code + 64k for opcode copy to hack protection */</span>
<span class="linenum"> 4462</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"crushkrl.6e"</span>,  0x0000, 0x1000, CRC(a8dd8f54) SHA1(4e3a973ea74a9e145c6997513b98fc80aa478442) )
<span class="linenum"> 4463</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"crushkrl.6f"</span>,  0x1000, 0x1000, CRC(91387299) SHA1(3ad8c28e02c45667e32860953b157832445a82c8) )
<span class="linenum"> 4464</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"crushkrl.6h"</span>,  0x2000, 0x1000, CRC(d4455f27) SHA1(53f8ffc28be664fa8a2d756b4c70045a3f041bea) )
<span class="linenum"> 4465</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"crushkrl.6j"</span>,  0x3000, 0x1000, CRC(d59fc251) SHA1(024605e4485b0ac826217256e5356ed9a6c8ef34) )
<span class="linenum"> 4466</span>&nbsp;&nbsp;
<span class="linenum"> 4467</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4468</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.5e"</span>,  0x0000, 0x1000, CRC(91bad2da) SHA1(096197d0cb6d55bf72b5be045224f4bd6a9cfa1b) )
<span class="linenum"> 4469</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.5f"</span>,  0x1000, 0x1000, CRC(aea79f55) SHA1(279021e6771dfa5bd0b7c557aae44434286d91b7) )
<span class="linenum"> 4470</span>&nbsp;&nbsp;
<span class="linenum"> 4471</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4472</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4473</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4474</span>&nbsp;&nbsp;
<span class="linenum"> 4475</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4476</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4477</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4478</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4479</span>&nbsp;&nbsp;
<span class="linenum"> 4480</span>&nbsp;&nbsp;
<span class="linenum"> 4481</span>&nbsp;&nbsp;ROM_START( crushbl )
<span class="linenum"> 4482</span>&nbsp;&nbsp;    ROM_REGION( 2*0x10000, <span class="string">"maincpu"</span>, 0 )   <span class="comment">/* 64k for code + 64k for opcode copy to hack protection */</span>
<span class="linenum"> 4483</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr1.bin"</span>,  0x0000, 0x1000, CRC(e2e84cd1) SHA1(3fc5a9aa3ee219b386a1d0622547c77aca27533d) )
<span class="linenum"> 4484</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr2.bin"</span>,  0x1000, 0x1000, CRC(ec020e6f) SHA1(eef9008c38a68ed20c1e3596016d97d4e72de9f2) )
<span class="linenum"> 4485</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr3.bin"</span>,  0x2000, 0x1000, CRC(d4455f27) SHA1(53f8ffc28be664fa8a2d756b4c70045a3f041bea) ) <span class="comment">// matches original</span>
<span class="linenum"> 4486</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr4.bin"</span>,  0x3000, 0x1000, CRC(9936ae06) SHA1(80aff9a12dab97e9d5818f7a7fac54dc52b579d4) )
<span class="linenum"> 4487</span>&nbsp;&nbsp;
<span class="linenum"> 4488</span>&nbsp;&nbsp;    <span class="comment">/* no other roms in this set */</span>
<span class="linenum"> 4489</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4490</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.5e"</span>,  0x0000, 0x1000, CRC(91bad2da) SHA1(096197d0cb6d55bf72b5be045224f4bd6a9cfa1b) )
<span class="linenum"> 4491</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.5f"</span>,  0x1000, 0x1000, CRC(aea79f55) SHA1(279021e6771dfa5bd0b7c557aae44434286d91b7) )
<span class="linenum"> 4492</span>&nbsp;&nbsp;
<span class="linenum"> 4493</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4494</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4495</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4496</span>&nbsp;&nbsp;
<span class="linenum"> 4497</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4498</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4499</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4500</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4501</span>&nbsp;&nbsp;
<span class="linenum"> 4502</span>&nbsp;&nbsp;ROM_START( crushbl2 )
<span class="linenum"> 4503</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4504</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr5.7d"</span>,       0x0000, 0x1000, CRC(4954d51d) SHA1(ff973ed961a531f7fc6f45b2c27af317f4cc6a4d) )
<span class="linenum"> 4505</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr6.7e"</span>,       0x1000, 0x1000, CRC(27eb4299) SHA1(af2d7fdedcea766045fc2f20ae383024d1c35731) )
<span class="linenum"> 4506</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr7.7h"</span>,       0x2000, 0x1000, CRC(d297108e) SHA1(a5bd11f26ba82b66a93d07e8cbc838ad9bd01413) )
<span class="linenum"> 4507</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr8.7j"</span>,       0x3000, 0x1000, CRC(bcc40eaf) SHA1(50ffb3cf5cffd7618ceac207f60ca052fc13e38c) )
<span class="linenum"> 4508</span>&nbsp;&nbsp;
<span class="linenum"> 4509</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4510</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr1.5e"</span>,       0x0000, 0x0800, CRC(c7617198) SHA1(95b204af0345163f93811cc770ee0ca2851a39c1) )
<span class="linenum"> 4511</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr3.5h"</span>,       0x0800, 0x0800, CRC(c15b6967) SHA1(d8f16e2d6af5bf0f610d1e23614c531f67490da9) )
<span class="linenum"> 4512</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr2.5f"</span>,       0x1000, 0x0800, CRC(d5bc5cb8) SHA1(269b82ae2b838c72ae06bff77412f22bb779ad2e) )  <span class="comment">/* copyright sign was removed */</span>
<span class="linenum"> 4513</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"cr4.5j"</span>,       0x1800, 0x0800, CRC(d35d1caf) SHA1(65dd7861e05651485626465dc97215fed58db551) )
<span class="linenum"> 4514</span>&nbsp;&nbsp;
<span class="linenum"> 4515</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4516</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"74s288.8a"</span>,    0x0000, 0x0020, CRC(ff344446) SHA1(45eb37533da8912645a089b014f3b3384702114a) )
<span class="linenum"> 4517</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4518</span>&nbsp;&nbsp;
<span class="linenum"> 4519</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4520</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4521</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4522</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4523</span>&nbsp;&nbsp;
<span class="linenum"> 4524</span>&nbsp;&nbsp;ROM_START( crush2 )
<span class="linenum"> 4525</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4526</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tp1"</span>,          0x0000, 0x0800, CRC(f276592e) SHA1(68ebb7d9f70af868d99ec42c26bc55a54ba1f22c) )
<span class="linenum"> 4527</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tp5a"</span>,         0x0800, 0x0800, CRC(3d302abe) SHA1(8ca5cd82d099b55e20f785489158231a1d99a430) )
<span class="linenum"> 4528</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tp2"</span>,          0x1000, 0x0800, CRC(25f42e70) SHA1(66de8203c364fd90e8a2b5749c2e40665b2f5830) )
<span class="linenum"> 4529</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tp6"</span>,          0x1800, 0x0800, CRC(98279cbe) SHA1(84b5e64bdbc25afab9b6f53e1719640e21a6feba) )
<span class="linenum"> 4530</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tp3"</span>,          0x2000, 0x0800, CRC(8377b4cb) SHA1(f828a177f22db9093a00c31e39e16214ce0dc6de) )
<span class="linenum"> 4531</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tp7"</span>,          0x2800, 0x0800, CRC(d8e76c8c) SHA1(7c3d7eb07b9256130141f71eba722f7823fd4c32) )
<span class="linenum"> 4532</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tp4"</span>,          0x3000, 0x0800, CRC(90b28fa3) SHA1(ff58d2dfb016397daabe2996bc3a7b63d28a4cca) )
<span class="linenum"> 4533</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tp8"</span>,          0x3800, 0x0800, CRC(10854e1b) SHA1(b3b9066d9a43796185c00ae12f7bb2bbf42e3a07) )
<span class="linenum"> 4534</span>&nbsp;&nbsp;
<span class="linenum"> 4535</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4536</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tpa"</span>,          0x0000, 0x0800, CRC(c7617198) SHA1(95b204af0345163f93811cc770ee0ca2851a39c1) )
<span class="linenum"> 4537</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tpc"</span>,          0x0800, 0x0800, CRC(e129d76a) SHA1(c9256795c6d0929ade1f24b372dadc2a2b88d897) )
<span class="linenum"> 4538</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tpb"</span>,          0x1000, 0x0800, CRC(d1899f05) SHA1(dce755511b6262b984a2bca329f454892e486a09) )
<span class="linenum"> 4539</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tpd"</span>,          0x1800, 0x0800, CRC(d35d1caf) SHA1(65dd7861e05651485626465dc97215fed58db551) )
<span class="linenum"> 4540</span>&nbsp;&nbsp;
<span class="linenum"> 4541</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4542</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4543</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4544</span>&nbsp;&nbsp;
<span class="linenum"> 4545</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4546</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4547</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4548</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4549</span>&nbsp;&nbsp;
<span class="linenum"> 4550</span>&nbsp;&nbsp;
<span class="linenum"> 4551</span>&nbsp;&nbsp;ROM_START( crush3 )
<span class="linenum"> 4552</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4553</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.4e"</span>,    0x0000, 0x0800, CRC(49150ddf) SHA1(5a20464a40d1d48606664779c85a7679073d7954) )
<span class="linenum"> 4554</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.6e"</span>,    0x0800, 0x0800, CRC(21f47e17) SHA1(1194b5e8b0cce1f480acda3cb6c1fc65988bdc80) )
<span class="linenum"> 4555</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.4f"</span>,    0x1000, 0x0800, CRC(9b6dd592) SHA1(6bb1b7ed95a7a8682a6ab58fa9f02c34beea8cd4) )
<span class="linenum"> 4556</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.6f"</span>,    0x1800, 0x0800, CRC(755c1452) SHA1(a2da17ed0e526dad4d53d332467a3dfd3b2a8cab) )
<span class="linenum"> 4557</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.4h"</span>,    0x2000, 0x0800, CRC(ed30a312) SHA1(15855904422eb603e5c5465bd038a3e8c666c10d) )
<span class="linenum"> 4558</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.6h"</span>,    0x2800, 0x0800, CRC(fe4bb0eb) SHA1(70e480a75421ee0832456f1d30bf45a702192625) )
<span class="linenum"> 4559</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.4j"</span>,    0x3000, 0x0800, CRC(072b91c9) SHA1(808df98c0cfd2367a39e06f30f920fd14887d922) )
<span class="linenum"> 4560</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.6j"</span>,    0x3800, 0x0800, CRC(66fba07d) SHA1(4944d69a38fd823dad38b70433848017ae7027d7) )
<span class="linenum"> 4561</span>&nbsp;&nbsp;
<span class="linenum"> 4562</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4563</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.5e"</span>,    0x0000, 0x0800, CRC(338880a0) SHA1(beba1c71291394442b04fa5f4e1b833d7cf0fa8a) )
<span class="linenum"> 4564</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.5h"</span>,    0x0800, 0x0800, CRC(4ce9c81f) SHA1(90a695ce4a45bde62bdbf09724a3ec6b45674660) )
<span class="linenum"> 4565</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.5f"</span>,    0x1000, 0x0800, CRC(752e3780) SHA1(5730ebd8091eba5ac32ddd9db2f42d718b088753) )
<span class="linenum"> 4566</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"unkmol.5j"</span>,    0x1800, 0x0800, CRC(6e00d2ac) SHA1(aa3f1f3a3b6899bea717d97e4817b13159e552e5) )
<span class="linenum"> 4567</span>&nbsp;&nbsp;
<span class="linenum"> 4568</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4569</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4570</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4571</span>&nbsp;&nbsp;
<span class="linenum"> 4572</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4573</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4574</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4575</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4576</span>&nbsp;&nbsp;
<span class="linenum"> 4577</span>&nbsp;&nbsp;
<span class="linenum"> 4578</span>&nbsp;&nbsp;ROM_START( crush4 )
<span class="linenum"> 4579</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 ) <span class="comment">/* 64k for code+64k for decrypted code */</span>
<span class="linenum"> 4580</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"crtwt.2"</span>, 0x10000, 0x10000, CRC(adbd21f7) SHA1(984b005cd7a73f697715ecb7a4d806024cb7596d) )   <span class="comment">/* banked */</span>
<span class="linenum"> 4581</span>&nbsp;&nbsp;
<span class="linenum"> 4582</span>&nbsp;&nbsp;    ROM_REGION( 0x4000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4583</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"crtwt.1"</span>, 0x0000, 0x0800, CRC(4250a9ea) SHA1(496a368afcf09c09205f7d0882320d2022e6fc98) )
<span class="linenum"> 4584</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x1000, 0x0800 )
<span class="linenum"> 4585</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x0800, 0x0800 )
<span class="linenum"> 4586</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x1800, 0x0800 )
<span class="linenum"> 4587</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x2000, 0x0800 )
<span class="linenum"> 4588</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x3000, 0x0800 )
<span class="linenum"> 4589</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x2800, 0x0800 )
<span class="linenum"> 4590</span>&nbsp;&nbsp;    ROM_CONTINUE(        0x3800, 0x0800 )
<span class="linenum"> 4591</span>&nbsp;&nbsp;
<span class="linenum"> 4592</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4593</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4594</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.bin"</span>,   0x0020, 0x0100, CRC(2bc5d339) SHA1(446e234df94d9ef34c3191877bb33dd775acfdf5) )
<span class="linenum"> 4595</span>&nbsp;&nbsp;
<span class="linenum"> 4596</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4597</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4598</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4599</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4600</span>&nbsp;&nbsp;
<span class="linenum"> 4601</span>&nbsp;&nbsp;
<span class="linenum"> 4602</span>&nbsp;&nbsp;ROM_START( maketrax )
<span class="linenum"> 4603</span>&nbsp;&nbsp;    ROM_REGION( 2*0x10000, <span class="string">"maincpu"</span>, 0 )   <span class="comment">/* 64k for code + 64k for opcode copy to hack protection */</span>
<span class="linenum"> 4604</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.6e"</span>,  0x0000, 0x1000, CRC(0150fb4a) SHA1(ba41582d5432670654479b4bf6d938d2168858af) )
<span class="linenum"> 4605</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.6f"</span>,  0x1000, 0x1000, CRC(77531691) SHA1(68a450bcc8d832368d0f1cb2815cb5c03451796e) )
<span class="linenum"> 4606</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.6h"</span>,  0x2000, 0x1000, CRC(a2cdc51e) SHA1(80d80235cda3ce19c1dbafacf3d47b1325ad4728) )
<span class="linenum"> 4607</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.6j"</span>,  0x3000, 0x1000, CRC(0b4b5e0a) SHA1(621aece612df612065f776696956ef3671421fac) )
<span class="linenum"> 4608</span>&nbsp;&nbsp;
<span class="linenum"> 4609</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4610</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.5e"</span>,  0x0000, 0x1000, CRC(91bad2da) SHA1(096197d0cb6d55bf72b5be045224f4bd6a9cfa1b) )
<span class="linenum"> 4611</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.5f"</span>,  0x1000, 0x1000, CRC(aea79f55) SHA1(279021e6771dfa5bd0b7c557aae44434286d91b7) )
<span class="linenum"> 4612</span>&nbsp;&nbsp;
<span class="linenum"> 4613</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4614</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4615</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4616</span>&nbsp;&nbsp;
<span class="linenum"> 4617</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4618</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4619</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4620</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4621</span>&nbsp;&nbsp;
<span class="linenum"> 4622</span>&nbsp;&nbsp;
<span class="linenum"> 4623</span>&nbsp;&nbsp;ROM_START( maketrxb )
<span class="linenum"> 4624</span>&nbsp;&nbsp;    ROM_REGION( 2*0x10000, <span class="string">"maincpu"</span>, 0 )   <span class="comment">/* 64k for code + 64k for opcode copy to hack protection */</span>
<span class="linenum"> 4625</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.6e"</span>,  0x0000, 0x1000, CRC(0150fb4a) SHA1(ba41582d5432670654479b4bf6d938d2168858af) )
<span class="linenum"> 4626</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.6f"</span>,  0x1000, 0x1000, CRC(77531691) SHA1(68a450bcc8d832368d0f1cb2815cb5c03451796e) )
<span class="linenum"> 4627</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrxb.6h"</span>,  0x2000, 0x1000, CRC(6ad342c9) SHA1(5469f3952adc682725a71602b4a00a7751e48a99) )
<span class="linenum"> 4628</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrxb.6j"</span>,  0x3000, 0x1000, CRC(be27f729) SHA1(0f7b873d33f751fa2fc54f9eede0598cb7d7f3c8) )
<span class="linenum"> 4629</span>&nbsp;&nbsp;
<span class="linenum"> 4630</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4631</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.5e"</span>,  0x0000, 0x1000, CRC(91bad2da) SHA1(096197d0cb6d55bf72b5be045224f4bd6a9cfa1b) )
<span class="linenum"> 4632</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"maketrax.5f"</span>,  0x1000, 0x1000, CRC(aea79f55) SHA1(279021e6771dfa5bd0b7c557aae44434286d91b7) )
<span class="linenum"> 4633</span>&nbsp;&nbsp;
<span class="linenum"> 4634</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4635</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4636</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4637</span>&nbsp;&nbsp;
<span class="linenum"> 4638</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4639</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4640</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4641</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4642</span>&nbsp;&nbsp;
<span class="linenum"> 4643</span>&nbsp;&nbsp;ROM_START( korosuke )
<span class="linenum"> 4644</span>&nbsp;&nbsp;    ROM_REGION( 2*0x10000, <span class="string">"maincpu"</span>, 0 )   <span class="comment">/* 64k for code + 64k for opcode copy to hack protection */</span>
<span class="linenum"> 4645</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"kr.6e"</span>,        0x0000, 0x1000, CRC(69f6e2da) SHA1(5f06523122d81a079bed080a16b44adb90aa95ad) )
<span class="linenum"> 4646</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"kr.6f"</span>,        0x1000, 0x1000, CRC(abf34d23) SHA1(6ae16fb8208037fd8b752076dd97e3da09e5cb8f) )
<span class="linenum"> 4647</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"kr.6h"</span>,        0x2000, 0x1000, CRC(76a2e2e2) SHA1(570aaed91279caab9274024e5a6176bdfe85bedd) )
<span class="linenum"> 4648</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"kr.6j"</span>,        0x3000, 0x1000, CRC(33e0e3bb) SHA1(43f5da486b9c44b0e4e8c909000786ee8ffee87f) )
<span class="linenum"> 4649</span>&nbsp;&nbsp;
<span class="linenum"> 4650</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4651</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"kr.5e"</span>,        0x0000, 0x1000, CRC(e0380be8) SHA1(96eb7c5ef91342be67bd2a6c4958412d2572ba2a) )
<span class="linenum"> 4652</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"kr.5f"</span>,        0x1000, 0x1000, CRC(63fec9ee) SHA1(7d136362e08cceba9395c2c469d8fec451c5e396) )
<span class="linenum"> 4653</span>&nbsp;&nbsp;
<span class="linenum"> 4654</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4655</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4656</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4657</span>&nbsp;&nbsp;
<span class="linenum"> 4658</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4659</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4660</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4661</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4662</span>&nbsp;&nbsp;
<span class="linenum"> 4663</span>&nbsp;&nbsp;
<span class="linenum"> 4664</span>&nbsp;&nbsp;ROM_START( mbrush )
<span class="linenum"> 4665</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4666</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mbrush.6e"</span>,    0x0000, 0x1000, CRC(750fbff7) SHA1(986d20010d4fdd4bac916ac6b3a01bcd09d695ea) )
<span class="linenum"> 4667</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mbrush.6f"</span>,    0x1000, 0x1000, CRC(27eb4299) SHA1(af2d7fdedcea766045fc2f20ae383024d1c35731) )
<span class="linenum"> 4668</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mbrush.6h"</span>,    0x2000, 0x1000, CRC(d297108e) SHA1(a5bd11f26ba82b66a93d07e8cbc838ad9bd01413) )
<span class="linenum"> 4669</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mbrush.6j"</span>,    0x3000, 0x1000, CRC(6fd719d0) SHA1(3de00981264cef24dc2c6277192e071144da2a88) )
<span class="linenum"> 4670</span>&nbsp;&nbsp;
<span class="linenum"> 4671</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4672</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tpa"</span>,          0x0000, 0x0800, CRC(c7617198) SHA1(95b204af0345163f93811cc770ee0ca2851a39c1) )
<span class="linenum"> 4673</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mbrush.5h"</span>,    0x0800, 0x0800, CRC(c15b6967) SHA1(d8f16e2d6af5bf0f610d1e23614c531f67490da9) )
<span class="linenum"> 4674</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mbrush.5f"</span>,    0x1000, 0x0800, CRC(d5bc5cb8) SHA1(269b82ae2b838c72ae06bff77412f22bb779ad2e) )  <span class="comment">/* copyright sign was removed */</span>
<span class="linenum"> 4675</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tpd"</span>,          0x1800, 0x0800, CRC(d35d1caf) SHA1(65dd7861e05651485626465dc97215fed58db551) )
<span class="linenum"> 4676</span>&nbsp;&nbsp;
<span class="linenum"> 4677</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4678</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4679</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4680</span>&nbsp;&nbsp;
<span class="linenum"> 4681</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4682</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4683</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4684</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4685</span>&nbsp;&nbsp;
<span class="linenum"> 4686</span>&nbsp;&nbsp;
<span class="linenum"> 4687</span>&nbsp;&nbsp;ROM_START( paintrlr )
<span class="linenum"> 4688</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4689</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"paintrlr.1"</span>,   0x0000, 0x0800, CRC(556d20b5) SHA1(c0a74def85bca108fc56726d22bbea1fc051e1ff) )
<span class="linenum"> 4690</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"paintrlr.5"</span>,   0x0800, 0x0800, CRC(4598a965) SHA1(866dbe7c0dbca10c5d5ec3efa3c79fb1ff1c5b56) )
<span class="linenum"> 4691</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"paintrlr.2"</span>,   0x1000, 0x0800, CRC(2da29c81) SHA1(e77f84e2f3136a116b75b40869e7f59404b0dbab) )
<span class="linenum"> 4692</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"paintrlr.6"</span>,   0x1800, 0x0800, CRC(1f561c54) SHA1(ef1159f2203ff6b5c17e3a79f32e8cafb12a49f7) )
<span class="linenum"> 4693</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"paintrlr.3"</span>,   0x2000, 0x0800, CRC(e695b785) SHA1(bc627a1a03d2e701fa4051acee469a4516cfb5bf) )
<span class="linenum"> 4694</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"paintrlr.7"</span>,   0x2800, 0x0800, CRC(00e6eec0) SHA1(e98850cf6e1762d08225a95f26a26766f8fa7303) )
<span class="linenum"> 4695</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"paintrlr.4"</span>,   0x3000, 0x0800, CRC(0fd5884b) SHA1(fa9614b625b3d71a6e9d5f883da625ad88e3eb5e) )
<span class="linenum"> 4696</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"paintrlr.8"</span>,   0x3800, 0x0800, CRC(4900114a) SHA1(47aee5bad136c19b203958b7ddac583d45018249) )
<span class="linenum"> 4697</span>&nbsp;&nbsp;
<span class="linenum"> 4698</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4699</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tpa"</span>,          0x0000, 0x0800, CRC(c7617198) SHA1(95b204af0345163f93811cc770ee0ca2851a39c1) )
<span class="linenum"> 4700</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mbrush.5h"</span>,    0x0800, 0x0800, CRC(c15b6967) SHA1(d8f16e2d6af5bf0f610d1e23614c531f67490da9) )
<span class="linenum"> 4701</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"mbrush.5f"</span>,    0x1000, 0x0800, CRC(d5bc5cb8) SHA1(269b82ae2b838c72ae06bff77412f22bb779ad2e) )  <span class="comment">/* copyright sign was removed */</span>
<span class="linenum"> 4702</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tpd"</span>,          0x1800, 0x0800, CRC(d35d1caf) SHA1(65dd7861e05651485626465dc97215fed58db551) )
<span class="linenum"> 4703</span>&nbsp;&nbsp;
<span class="linenum"> 4704</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4705</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4706</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2s140.4a"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4707</span>&nbsp;&nbsp;
<span class="linenum"> 4708</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4709</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4710</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4711</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4712</span>&nbsp;&nbsp;
<span class="linenum"> 4713</span>&nbsp;&nbsp;<span class="comment">/*
<span class="linenum"> 4714</span>&nbsp;&nbsp;
<span class="linenum"> 4715</span>&nbsp;&nbsp;Crush Roller (Sidam PCB)
<span class="linenum"> 4716</span>&nbsp;&nbsp;
<span class="linenum"> 4717</span>&nbsp;&nbsp;CPU
<span class="linenum"> 4718</span>&nbsp;&nbsp;1x SGS Z80ACPUB1 (main)
<span class="linenum"> 4719</span>&nbsp;&nbsp;1x AY-3-8912 (sound)
<span class="linenum"> 4720</span>&nbsp;&nbsp;1x oscillator (no speed markings)
<span class="linenum"> 4721</span>&nbsp;&nbsp;ROMs
<span class="linenum"> 4722</span>&nbsp;&nbsp;6x TMS2532
<span class="linenum"> 4723</span>&nbsp;&nbsp;1x SN74S288N
<span class="linenum"> 4724</span>&nbsp;&nbsp;1x TBP24S10N
<span class="linenum"> 4725</span>&nbsp;&nbsp;Note
<span class="linenum"> 4726</span>&nbsp;&nbsp;1x 22x2 edge connector
<span class="linenum"> 4727</span>&nbsp;&nbsp;1x trimmer (volume)
<span class="linenum"> 4728</span>&nbsp;&nbsp;2x 8 switches dip
<span class="linenum"> 4729</span>&nbsp;&nbsp;1x 4 switches dip
<span class="linenum"> 4730</span>&nbsp;&nbsp;1x red led
<span class="linenum"> 4731</span>&nbsp;&nbsp;*/</span>
<span class="linenum"> 4732</span>&nbsp;&nbsp;
<span class="linenum"> 4733</span>&nbsp;&nbsp;ROM_START( crushs )
<span class="linenum"> 4734</span>&nbsp;&nbsp;    ROM_REGION( 2*0x10000, <span class="string">"maincpu"</span>, 0 )   <span class="comment">/* 64k for code + 64k for opcode copy to hack protection */</span>
<span class="linenum"> 4735</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11105-0.0j"</span>,  0x0000, 0x1000, CRC(dd425429) SHA1(dc3fd8b71384c25dc807caea9187a775144ad24e) )
<span class="linenum"> 4736</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11105-1.1j"</span>,  0x1000, 0x1000, CRC(f9d89eef) SHA1(4de911b68cf6044d1e50fd3f455a61327483540b) )
<span class="linenum"> 4737</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11105-2.2j"</span>,  0x2000, 0x1000, CRC(40c23a27) SHA1(b59586ec18446b866b9ef267bb876c410f2972b0) )
<span class="linenum"> 4738</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11105-3.3j"</span>,  0x3000, 0x1000, CRC(5802644f) SHA1(3ba078c9ab8c6e251f6d1a3e8b6f8bf4820340a5) )
<span class="linenum"> 4739</span>&nbsp;&nbsp;
<span class="linenum"> 4740</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4741</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11105-4.4j"</span>,  0x0000, 0x1000, CRC(91bad2da) SHA1(096197d0cb6d55bf72b5be045224f4bd6a9cfa1b) )
<span class="linenum"> 4742</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11105-5.5j"</span>,  0x1000, 0x1000, CRC(b5c14376) SHA1(2c8c57f96c51f12f73daf65dc2a73e8185aaacea) )
<span class="linenum"> 4743</span>&nbsp;&nbsp;
<span class="linenum"> 4744</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4745</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"74s288.8a"</span>,    0x0000, 0x0020, CRC(ff344446) SHA1(45eb37533da8912645a089b014f3b3384702114a) )
<span class="linenum"> 4746</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"24s10.6b"</span>,     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4747</span>&nbsp;&nbsp;
<span class="linenum"> 4748</span>&nbsp;&nbsp;    <span class="comment">/* No Sound Proms (not Namco Sound) */</span>
<span class="linenum"> 4749</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4750</span>&nbsp;&nbsp;
<span class="linenum"> 4751</span>&nbsp;&nbsp;
<span class="linenum"> 4752</span>&nbsp;&nbsp;
<span class="linenum"> 4753</span>&nbsp;&nbsp;ROM_START( ponpoko )
<span class="linenum"> 4754</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4755</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppokoj1.bin"</span>,  0x0000, 0x1000, CRC(ffa3c004) SHA1(d9e3186dcd4eb94d02bd24ad56030b248721537f) )
<span class="linenum"> 4756</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppokoj2.bin"</span>,  0x1000, 0x1000, CRC(4a496866) SHA1(4b8bd13e58040c30ca032b54fb47d889677e8c6f) )
<span class="linenum"> 4757</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppokoj3.bin"</span>,  0x2000, 0x1000, CRC(17da6ca3) SHA1(1a57767557c13fa3d08e4451fb9fb1f7219b26ef) )
<span class="linenum"> 4758</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppokoj4.bin"</span>,  0x3000, 0x1000, CRC(9d39a565) SHA1(d4835ee97c9b3c63504d8b576a11f0a3a97057ec) )
<span class="linenum"> 4759</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko5.bin"</span>,   0x8000, 0x1000, CRC(54ca3d7d) SHA1(b54299b00573fbd6d3278586df0c12c09235615d) )
<span class="linenum"> 4760</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko6.bin"</span>,   0x9000, 0x1000, CRC(3055c7e0) SHA1(ab3fb9c8846effdcea0569d08a84c5fa19057a8f) )
<span class="linenum"> 4761</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko7.bin"</span>,   0xa000, 0x1000, CRC(3cbe47ca) SHA1(577c79c016be26a9fc7895cef0f30bf3f0b15097) )
<span class="linenum"> 4762</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppokoj8.bin"</span>,  0xb000, 0x1000, CRC(04b63fc6) SHA1(9b86ae34aaefa2813d29a4f7b24cee40eadcc6a1) )
<span class="linenum"> 4763</span>&nbsp;&nbsp;
<span class="linenum"> 4764</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4765</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko9.bin"</span>,   0x0000, 0x1000, CRC(b73e1a06) SHA1(f1229e804eb15827b71f0e769a8c9e496c6d1de7) )
<span class="linenum"> 4766</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko10.bin"</span>,  0x1000, 0x1000, CRC(62069b5d) SHA1(1b58ad1c2cc2d12f4e492fdd665b726d50c80364) )
<span class="linenum"> 4767</span>&nbsp;&nbsp;
<span class="linenum"> 4768</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4769</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4770</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4771</span>&nbsp;&nbsp;
<span class="linenum"> 4772</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4773</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4774</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4775</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4776</span>&nbsp;&nbsp;
<span class="linenum"> 4777</span>&nbsp;&nbsp;
<span class="linenum"> 4778</span>&nbsp;&nbsp;ROM_START( ponpokov )
<span class="linenum"> 4779</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4780</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko1.bin"</span>,   0x0000, 0x1000, CRC(49077667) SHA1(3e760cd4dbe5913e58d786caf510237ff635c775) )
<span class="linenum"> 4781</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko2.bin"</span>,   0x1000, 0x1000, CRC(5101781a) SHA1(a82fbd2418ac7866f9463092e9dd37fd7ba9b694) )
<span class="linenum"> 4782</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko3.bin"</span>,   0x2000, 0x1000, CRC(d790ed22) SHA1(2d32f91f6993232db40b44b35bd2503d85e5c874) )
<span class="linenum"> 4783</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko4.bin"</span>,   0x3000, 0x1000, CRC(4e449069) SHA1(d5e6e346f80e66eb0db530de9721d9b6f22e86ae) )
<span class="linenum"> 4784</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko5.bin"</span>,   0x8000, 0x1000, CRC(54ca3d7d) SHA1(b54299b00573fbd6d3278586df0c12c09235615d) )
<span class="linenum"> 4785</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko6.bin"</span>,   0x9000, 0x1000, CRC(3055c7e0) SHA1(ab3fb9c8846effdcea0569d08a84c5fa19057a8f) )
<span class="linenum"> 4786</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko7.bin"</span>,   0xa000, 0x1000, CRC(3cbe47ca) SHA1(577c79c016be26a9fc7895cef0f30bf3f0b15097) )
<span class="linenum"> 4787</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko8.bin"</span>,   0xb000, 0x1000, CRC(b39be27d) SHA1(c299d22d26da68bec8fc53c898523135ec4016fa) )
<span class="linenum"> 4788</span>&nbsp;&nbsp;
<span class="linenum"> 4789</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4790</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko9.bin"</span>,   0x0000, 0x1000, CRC(b73e1a06) SHA1(f1229e804eb15827b71f0e769a8c9e496c6d1de7) )
<span class="linenum"> 4791</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ppoko10.bin"</span>,  0x1000, 0x1000, CRC(62069b5d) SHA1(1b58ad1c2cc2d12f4e492fdd665b726d50c80364) )
<span class="linenum"> 4792</span>&nbsp;&nbsp;
<span class="linenum"> 4793</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4794</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4795</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4796</span>&nbsp;&nbsp;
<span class="linenum"> 4797</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4798</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4799</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4800</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4801</span>&nbsp;&nbsp;
<span class="linenum"> 4802</span>&nbsp;&nbsp;
<span class="linenum"> 4803</span>&nbsp;&nbsp;ROM_START( eyes )
<span class="linenum"> 4804</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4805</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"d7"</span>,           0x0000, 0x1000, CRC(3b09ac89) SHA1(a8f1c918da74495bb73172f39364dada38ae4713) )
<span class="linenum"> 4806</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"e7"</span>,           0x1000, 0x1000, CRC(97096855) SHA1(10d3b164bbbe5eee86e881a1434f0c114ee8adff) )
<span class="linenum"> 4807</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"f7"</span>,           0x2000, 0x1000, CRC(731e294e) SHA1(96c0308c146dbd85e244c4530af9ae8df78c86de) )
<span class="linenum"> 4808</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"h7"</span>,           0x3000, 0x1000, CRC(22f7a719) SHA1(eb000b606ecedd52bebbb232e661fb1ef205f8b0) )
<span class="linenum"> 4809</span>&nbsp;&nbsp;
<span class="linenum"> 4810</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4811</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"d5"</span>,           0x0000, 0x1000, CRC(d6af0030) SHA1(652b779533e3f00e81cc102b78d367d503b06f33) )
<span class="linenum"> 4812</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"e5"</span>,           0x1000, 0x1000, CRC(a42b5201) SHA1(2e5cede3b6039c7bd5230de27d02aaa3f35a7b64) )
<span class="linenum"> 4813</span>&nbsp;&nbsp;
<span class="linenum"> 4814</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4815</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4816</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.4a"</span>,    0x0020, 0x0100, CRC(d8d78829) SHA1(19820d1651423210083a087fb70ebea73ad34951) )
<span class="linenum"> 4817</span>&nbsp;&nbsp;
<span class="linenum"> 4818</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4819</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4820</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4821</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4822</span>&nbsp;&nbsp;
<span class="linenum"> 4823</span>&nbsp;&nbsp;
<span class="linenum"> 4824</span>&nbsp;&nbsp;ROM_START( eyes2 )
<span class="linenum"> 4825</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4826</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"g38201.7d"</span>,    0x0000, 0x1000, CRC(2cda7185) SHA1(7ec3ee9bb90e6a1d83ad3aa12fd62184e07b1399) )
<span class="linenum"> 4827</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"g38202.7e"</span>,    0x1000, 0x1000, CRC(b9fe4f59) SHA1(2d97dc1a0458b406ca0c50d6b8bd0dbe58d21464) )
<span class="linenum"> 4828</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"g38203.7f"</span>,    0x2000, 0x1000, CRC(d618ba66) SHA1(76d93d8bc09bafac464ebfd002869e21535a365b) )
<span class="linenum"> 4829</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"g38204.7h"</span>,    0x3000, 0x1000, CRC(cf038276) SHA1(bcf4e129a151e2245e630cf865ce6cb009b405a5) )
<span class="linenum"> 4830</span>&nbsp;&nbsp;
<span class="linenum"> 4831</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4832</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"g38205.5d"</span>,    0x0000, 0x1000, CRC(03b1b4c7) SHA1(a90b2fbaee2888ee4f0bcdf80a069c8594ef5ea1) )  <span class="comment">/* this one has a (c) sign */</span>
<span class="linenum"> 4833</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"g38206.5e"</span>,    0x1000, 0x1000, CRC(a42b5201) SHA1(2e5cede3b6039c7bd5230de27d02aaa3f35a7b64) )
<span class="linenum"> 4834</span>&nbsp;&nbsp;
<span class="linenum"> 4835</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4836</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4837</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.4a"</span>,    0x0020, 0x0100, CRC(d8d78829) SHA1(19820d1651423210083a087fb70ebea73ad34951) )
<span class="linenum"> 4838</span>&nbsp;&nbsp;
<span class="linenum"> 4839</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4840</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4841</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4842</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4843</span>&nbsp;&nbsp;
<span class="linenum"> 4844</span>&nbsp;&nbsp;
<span class="linenum"> 4845</span>&nbsp;&nbsp;ROM_START( eyesb )
<span class="linenum"> 4846</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4847</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"1.bin"</span>,           0x0000, 0x0800, CRC(339d279a) SHA1(bc2a7801b9f94782f260346255f84a0e84729f01) )
<span class="linenum"> 4848</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5.bin"</span>,           0x0800, 0x0800, CRC(1b68a61d) SHA1(348ef7b19934b000b03c74bec4796f1089dfc5eb) )
<span class="linenum"> 4849</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2.bin"</span>,           0x1000, 0x0800, CRC(d4f9aaf8) SHA1(1e450a7ecf42f9bc2d58823907930dd7aa454215) )
<span class="linenum"> 4850</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6.bin"</span>,           0x1800, 0x0800, CRC(6b41bb80) SHA1(aa3555833a2e8e596e126a749fe12853e4aa05b1) )
<span class="linenum"> 4851</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"3.bin"</span>,           0x2000, 0x0800, CRC(748e0e48) SHA1(857de6f7fe79a2613a93fb3efd981edb64c0190e) )
<span class="linenum"> 4852</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7.bin"</span>,           0x2800, 0x0800, CRC(7b7f4a74) SHA1(373229de4ed25d577fe15deb3b6bc36786988284) )
<span class="linenum"> 4853</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4.bin"</span>,           0x3000, 0x0800, CRC(367a3884) SHA1(d55d7eca56412661adac1849a398298670e86d15) )
<span class="linenum"> 4854</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"8.bin"</span>,           0x3800, 0x0800, CRC(2baaadae) SHA1(7b20ed5935e9a4f793f690bab2a6bc0db44d12af) )
<span class="linenum"> 4855</span>&nbsp;&nbsp;
<span class="linenum"> 4856</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4857</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"9.bin"</span>,           0x0000, 0x0800, CRC(342c0653) SHA1(d07e3d4528b72e54a1b5dbed009cce765a5a086f) )
<span class="linenum"> 4858</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11.bin"</span>,          0x0800, 0x0800, CRC(aaa7a537) SHA1(571d981ed2aad62d7c7f2798e9084228d45523d4) )
<span class="linenum"> 4859</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"10.bin"</span>,          0x1000, 0x0800, CRC(b247b82c) SHA1(8c10a8ef5e79b0b5fefad6eb77bfa68a0ca18035) )
<span class="linenum"> 4860</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"12.bin"</span>,          0x1800, 0x0800, CRC(99af4b30) SHA1(6a0939ff2fa7ae39a960dd4d9f9b7c01f57647c5) )
<span class="linenum"> 4861</span>&nbsp;&nbsp;
<span class="linenum"> 4862</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4863</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7051.bin"</span>,        0x0000, 0x0020, CRC(0dad2ccb) SHA1(f42c5ee7084e5702b5b0c8c1d86b0a41a6e1821d) )
<span class="linenum"> 4864</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7051-3.bin"</span>,      0x0020, 0x0100, CRC(d8d78829) SHA1(19820d1651423210083a087fb70ebea73ad34951) )
<span class="linenum"> 4865</span>&nbsp;&nbsp;
<span class="linenum"> 4866</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4867</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,       0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) ) <span class="comment">// not dumped, taken from parent</span>
<span class="linenum"> 4868</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7051-2.bin"</span>,      0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) <span class="comment">// two of these?</span>
<span class="linenum"> 4869</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4870</span>&nbsp;&nbsp;
<span class="linenum"> 4871</span>&nbsp;&nbsp;
<span class="linenum"> 4872</span>&nbsp;&nbsp;ROM_START( eyeszac )
<span class="linenum"> 4873</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4874</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"1.7d"</span>,         0x0000, 0x1000, BAD_DUMP CRC(568851aa) SHA1(a97963556a6d77400afaafd73bcc32cb7f3a54d2) ) <span class="comment">// 2532 vs 2732 problem, (near)identical halves</span>
<span class="linenum"> 4875</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2.7f"</span>,         0x1000, 0x1000, BAD_DUMP CRC(9a0dba3b) SHA1(9f66f814bc2d483488df8918d872c7d6ce1bea3d) ) <span class="comment">// 2532 vs 2732 problem, 1st half empty</span>
<span class="linenum"> 4876</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"3.7h"</span>,         0x2000, 0x1000, BAD_DUMP CRC(5a12aa81) SHA1(1adb1b033066cabbd62a5d33012ed1c66b955943) ) <span class="comment">// 2532 vs 2732 problem, (near)identical halves</span>
<span class="linenum"> 4877</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4.7j"</span>,         0x3000, 0x1000, BAD_DUMP CRC(b11958a1) SHA1(fa66fec80594f313f605e2b904dfe34693a1aa7d) ) <span class="comment">// 2532 vs 2732 problem, (near)identical halves</span>
<span class="linenum"> 4878</span>&nbsp;&nbsp;
<span class="linenum"> 4879</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4880</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5.5d"</span>,         0x0000, 0x1000, BAD_DUMP CRC(7b2c4d53) SHA1(82e1a70c5cb76519dca252cfcea2a69c3601e36f) ) <span class="comment">// 2532 vs 2732 problem, (near)identical halves</span>
<span class="linenum"> 4881</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6.5f"</span>,         0x1000, 0x1000, BAD_DUMP CRC(bccb4f1a) SHA1(0abf73b78a95b7e911480d41e0136dbc635b4a34) ) <span class="comment">// 2532 vs 2732 problem, (near)identical halves</span>
<span class="linenum"> 4882</span>&nbsp;&nbsp;
<span class="linenum"> 4883</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4884</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) ) <span class="comment">// taken from parent</span>
<span class="linenum"> 4885</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.4a"</span>,    0x0020, 0x0100, CRC(d8d78829) SHA1(19820d1651423210083a087fb70ebea73ad34951) ) <span class="comment">// taken from parent</span>
<span class="linenum"> 4886</span>&nbsp;&nbsp;
<span class="linenum"> 4887</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4888</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) ) <span class="comment">// taken from parent</span>
<span class="linenum"> 4889</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) <span class="comment">// taken from parent</span>
<span class="linenum"> 4890</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4891</span>&nbsp;&nbsp;
<span class="linenum"> 4892</span>&nbsp;&nbsp;<span class="comment">/* It's just a decrypted version of Eyes with the copyright changes...
<span class="linenum"> 4893</span>&nbsp;&nbsp; roms marked with a comment were in the set but we're not using them */</span>
<span class="linenum"> 4894</span>&nbsp;&nbsp;ROM_START( eyeszacb )
<span class="linenum"> 4895</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4896</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_11.bin"</span>,  0x0000, 0x0800, CRC(69c1602a) SHA1(47b0935406b7ee2f414de58da1d4e81c6277a0c2) ) <span class="comment">// "no diagnostics, bad custom??" (unused)</span>
<span class="linenum"> 4897</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_1.bin"</span>,   0x0000, 0x0800, CRC(a4a9d7a0) SHA1(f0b807d2fa347e50df52971aa7539a88f342bad6) )
<span class="linenum"> 4898</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_5.bin"</span>,   0x0800, 0x0800, CRC(c32b3f73) SHA1(80d2e987f0318b984e5c7c4d0b5faa262eebeca4) )
<span class="linenum"> 4899</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_2.bin"</span>,   0x1000, 0x0800, CRC(195b9473) SHA1(62eb16af38cc9004787dc55433ed3db11af44a4b) )
<span class="linenum"> 4900</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_6.bin"</span>,   0x1800, 0x0800, CRC(292886cb) SHA1(e77c3724c7cd8cd95014194ba4bb2f7e04afb0dd) )
<span class="linenum"> 4901</span>&nbsp;&nbsp;<span class="comment">//  ROM_LOAD( "33.bin",          0x2000, 0x0800, CRC(df983e1d) SHA1(7c06fc69b7d0424f7b9348649d5587ff4d6dfc2d) ) // alt rom with copyright removed (unused)</span>
<span class="linenum"> 4902</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_3.bin"</span>,   0x2000, 0x0800, CRC(ff94b015) SHA1(6d8f43db3c98cadb35f70e3bff788e653dc132cd) )
<span class="linenum"> 4903</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_7.bin"</span>,   0x2800, 0x0800, CRC(9271c58c) SHA1(e6b8f1807c5852ae4e822d80719a4e8f8b036c31) )
<span class="linenum"> 4904</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_4.bin"</span>,   0x3000, 0x0800, CRC(965cf32b) SHA1(68cc573a24c74f2ab417d0330fc9523e77fda961) )
<span class="linenum"> 4905</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"zacb_8.bin"</span>,   0x3800, 0x0800, CRC(c254e92e) SHA1(023b45403ebc69c29516d77950dc69f05a1a130c) )
<span class="linenum"> 4906</span>&nbsp;&nbsp;
<span class="linenum"> 4907</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4908</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"x.bin"</span>,           0x0000, 0x0800, CRC(59dce22e) SHA1(81eaef3e4d8299b5133b62d04460abfa519696f5) )
<span class="linenum"> 4909</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c.bin"</span>,           0x0800, 0x0800, CRC(aaa7a537) SHA1(571d981ed2aad62d7c7f2798e9084228d45523d4) )
<span class="linenum"> 4910</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"b.bin"</span>,           0x1000, 0x0800, CRC(1969792b) SHA1(7c3e2ace75402ad227e6437785b7cfec4db88db8) )
<span class="linenum"> 4911</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p.bin"</span>,           0x1800, 0x0800, CRC(99af4b30) SHA1(6a0939ff2fa7ae39a960dd4d9f9b7c01f57647c5) )
<span class="linenum"> 4912</span>&nbsp;&nbsp;
<span class="linenum"> 4913</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4914</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4915</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.4a"</span>,    0x0020, 0x0100, CRC(d8d78829) SHA1(19820d1651423210083a087fb70ebea73ad34951) )
<span class="linenum"> 4916</span>&nbsp;&nbsp;
<span class="linenum"> 4917</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4918</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4919</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4920</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4921</span>&nbsp;&nbsp;
<span class="linenum"> 4922</span>&nbsp;&nbsp;
<span class="linenum"> 4923</span>&nbsp;&nbsp;<span class="comment">/*
<span class="linenum"> 4924</span>&nbsp;&nbsp;Birdiy by Mama Top
<span class="linenum"> 4925</span>&nbsp;&nbsp;
<span class="linenum"> 4926</span>&nbsp;&nbsp;Pcb marked Mama.Top MDK-13V-0  FCC  Made in japan
<span class="linenum"> 4927</span>&nbsp;&nbsp;
<span class="linenum"> 4928</span>&nbsp;&nbsp;1x 18.432mhz OSC
<span class="linenum"> 4929</span>&nbsp;&nbsp;1x Z80 LH0080 by Sharp running at 3.069mhz (18.432mhz/6)
<span class="linenum"> 4930</span>&nbsp;&nbsp;6x dynamic rams HN472114P-3 near the CPU
<span class="linenum"> 4931</span>&nbsp;&nbsp;1x dipswitch
<span class="linenum"> 4932</span>&nbsp;&nbsp;6x HN462732 eproms
<span class="linenum"> 4933</span>&nbsp;&nbsp;4x 82s129N proms
<span class="linenum"> 4934</span>&nbsp;&nbsp;1x DIL 18 pin chip with markings scratched out in position 7M
<span class="linenum"> 4935</span>&nbsp;&nbsp;1x HA1386 amplifier
<span class="linenum"> 4936</span>&nbsp;&nbsp;No sound chip, probably made of discrete logic?
<span class="linenum"> 4937</span>&nbsp;&nbsp;
<span class="linenum"> 4938</span>&nbsp;&nbsp;Note: the marking MDK-xxV-x is sometimes found on Nanao manufactured pcbs for Irem, so it very
<span class="linenum"> 4939</span>&nbsp;&nbsp;likely that the board was manufactured by Nanao
<span class="linenum"> 4940</span>&nbsp;&nbsp;(example: Major Title and Gussun Oyoyo are marked MDK-311V-0, M92 and M107 pcbs are marked MDK-321-V0)
<span class="linenum"> 4941</span>&nbsp;&nbsp;
<span class="linenum"> 4942</span>&nbsp;&nbsp;Board supplied by Alberto Grego
<span class="linenum"> 4943</span>&nbsp;&nbsp;Dumped by Corrado Tomaselli
<span class="linenum"> 4944</span>&nbsp;&nbsp;*/</span>
<span class="linenum"> 4945</span>&nbsp;&nbsp;
<span class="linenum"> 4946</span>&nbsp;&nbsp;ROM_START( birdiy )
<span class="linenum"> 4947</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4948</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"a6.6a"</span>,      0x0000, 0x001000, CRC(3a58f8ad) SHA1(39e990ad4ee1fdec248665149bdb1072c8c01a9a) )
<span class="linenum"> 4949</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c6.6c"</span>,      0x1000, 0x001000, CRC(fec61ea2) SHA1(f7ff528d2bcede2434d0a33ee0193b50113ef720) )
<span class="linenum"> 4950</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"a4.4a"</span>,      0x2000, 0x001000, CRC(3392783b) SHA1(e477f4284fd5b6c9f3619bd35cee6dbe8a2456b8) )
<span class="linenum"> 4951</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c4.4c"</span>,      0x3000, 0x001000, CRC(2391d83d) SHA1(6933f1e11a7a84c26a3a45b240e55157a2400e9c) )
<span class="linenum"> 4952</span>&nbsp;&nbsp;
<span class="linenum"> 4953</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4954</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c1.1c"</span>,      0x0000, 0x001000, CRC(8f6bf54f) SHA1(6e09a9c2b143908766837529b174f97dd5058b53) )
<span class="linenum"> 4955</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c3.3c"</span>,      0x1000, 0x001000, CRC(10b55440) SHA1(4f3cf5d8954725cf791146abf8918c43138602e1) )
<span class="linenum"> 4956</span>&nbsp;&nbsp;
<span class="linenum"> 4957</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4958</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n82s123n.10n"</span>, 0x0000, 0x0020, CRC(ff344446) SHA1(45eb37533da8912645a089b014f3b3384702114a) )
<span class="linenum"> 4959</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n82s129n.9m"</span>,  0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
<span class="linenum"> 4960</span>&nbsp;&nbsp;
<span class="linenum"> 4961</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4962</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n82s129n.4k"</span>,  0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4963</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n82s129n.6l"</span>,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4964</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4965</span>&nbsp;&nbsp;
<span class="linenum"> 4966</span>&nbsp;&nbsp;
<span class="linenum"> 4967</span>&nbsp;&nbsp;ROM_START( mrtnt )
<span class="linenum"> 4968</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4969</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tnt.1"</span>,        0x0000, 0x1000, CRC(0e836586) SHA1(5037b7c618f05bc3d6a33694729ae575b9aa7dbb) )
<span class="linenum"> 4970</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tnt.2"</span>,        0x1000, 0x1000, CRC(779c4c5b) SHA1(5ecac4f5b64b306c73d8f57d5260b586789b3055) )
<span class="linenum"> 4971</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tnt.3"</span>,        0x2000, 0x1000, CRC(ad6fc688) SHA1(e5729e4e42a5b9b3a26de8a44b3a78b49c8b1d8e) )
<span class="linenum"> 4972</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tnt.4"</span>,        0x3000, 0x1000, CRC(d77557b3) SHA1(689746653b1e19fbcddd0d71db2b86d1019235aa) )
<span class="linenum"> 4973</span>&nbsp;&nbsp;
<span class="linenum"> 4974</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4975</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tnt.5"</span>,        0x0000, 0x1000, CRC(3038cc0e) SHA1(f8f5927ea4cbfda8fa7546abd766ba2e8b020004) )
<span class="linenum"> 4976</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"tnt.6"</span>,        0x1000, 0x1000, CRC(97634d8b) SHA1(4c0fa4bc44bbb4b4614b5cc05e811c469c0e78e8) )
<span class="linenum"> 4977</span>&nbsp;&nbsp;
<span class="linenum"> 4978</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 4979</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 4980</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 4981</span>&nbsp;&nbsp;
<span class="linenum"> 4982</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 4983</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 4984</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 4985</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 4986</span>&nbsp;&nbsp;
<span class="linenum"> 4987</span>&nbsp;&nbsp;ROM_START( gorkans )
<span class="linenum"> 4988</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 4989</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkans8.rom"</span>,        0x0000, 0x0800, CRC(55100b18) SHA1(8f657c1b2865987b60d95960c5297a82bb1cc6e0) )
<span class="linenum"> 4990</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkans4.rom"</span>,        0x0800, 0x0800, CRC(b5c604bf) SHA1(0f3608d630fba9d4734a3ef30199a5d1a067cdff) )
<span class="linenum"> 4991</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkans7.rom"</span>,        0x1000, 0x0800, CRC(b8c6def4) SHA1(58ac78fc5b3559ef771ca708a79089b7a00cf6b8) )
<span class="linenum"> 4992</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkans3.rom"</span>,        0x1800, 0x0800, CRC(4602c840) SHA1(c77de0e991c44c2ee8a4537e264ac8fbb1b4b7db) )
<span class="linenum"> 4993</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkans6.rom"</span>,        0x2000, 0x0800, CRC(21412a62) SHA1(ece44c3204cf182db23b594ebdc051b51340ba2b) )
<span class="linenum"> 4994</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkans2.rom"</span>,        0x2800, 0x0800, CRC(a013310b) SHA1(847ba7ca033eaf49245bef49d6513619edec3472) )
<span class="linenum"> 4995</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkans5.rom"</span>,        0x3000, 0x0800, CRC(122969b2) SHA1(0803e1ec5e5ed742ea83ff156ae75a2d48530f71) )
<span class="linenum"> 4996</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkans1.rom"</span>,        0x3800, 0x0800, CRC(f2524b11) SHA1(1216b963e73c1de63cc323e361875f6810d83a05) )
<span class="linenum"> 4997</span>&nbsp;&nbsp;
<span class="linenum"> 4998</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 4999</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkgfx4.rom"</span>,        0x0000, 0x0800, CRC(39cd0dbc) SHA1(8d6882dad94b26da8f0737e7f7f99946fe273f1b) )
<span class="linenum"> 5000</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkgfx2.rom"</span>,        0x0800, 0x0800, CRC(33d52535) SHA1(e78ac5afa1ce996c41005c619ba2d2aa718497fc) )
<span class="linenum"> 5001</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkgfx3.rom"</span>,        0x1000, 0x0800, CRC(4b6b7970) SHA1(1d8b65cad0b834fb920135fc907432042bc83db2) )
<span class="linenum"> 5002</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkgfx1.rom"</span>,        0x1800, 0x0800, CRC(ed70bb3c) SHA1(7e51ddcf496f3b80fe186acc8bc6a0e574340346) )
<span class="linenum"> 5003</span>&nbsp;&nbsp;
<span class="linenum"> 5004</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5005</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkprom.4"</span>,   0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5006</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkprom.1"</span>,   0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 5007</span>&nbsp;&nbsp;
<span class="linenum"> 5008</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5009</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkprom.3"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5010</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"gorkprom.2"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5011</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5012</span>&nbsp;&nbsp;
<span class="linenum"> 5013</span>&nbsp;&nbsp;ROM_START( eggor )
<span class="linenum"> 5014</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5015</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"1.bin"</span>,        0x0000, 0x0800, CRC(818ed154) SHA1(8c0f555a3ab1d20a2c284d721b31278a0ddf9e51) )
<span class="linenum"> 5016</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5.bin"</span>,        0x0800, 0x0800, CRC(a4b21d93) SHA1(923b7a06f9146c7bcda4cdb16b15d2bbbec95eab) )
<span class="linenum"> 5017</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2.bin"</span>,        0x1000, 0x0800, CRC(5d7a23ed) SHA1(242fd973b0bde91c38e1f5e7f6c53d737019ec9c) )
<span class="linenum"> 5018</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6.bin"</span>,        0x1800, 0x0800, CRC(e9dbca8d) SHA1(b66783d68df778910cc190159aba07b476ff01af) )
<span class="linenum"> 5019</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"3.bin"</span>,        0x2000, 0x0800, CRC(4318ab85) SHA1(eda9bb1bb8102e1c2cf838d0682732a45609f430) )
<span class="linenum"> 5020</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7.bin"</span>,        0x2800, 0x0800, CRC(03214d7f) SHA1(0e1b602fbdedfe81452109912fed006653bdc455) )
<span class="linenum"> 5021</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4.bin"</span>,        0x3000, 0x0800, CRC(dc805be4) SHA1(18604b221cd8af23ff8a05c954a42c3aa9e1948a) )
<span class="linenum"> 5022</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"8.bin"</span>,        0x3800, 0x0800, CRC(f9ae204b) SHA1(53022d2d7b83f44c46fdcca454815cf1f65c34d1) )
<span class="linenum"> 5023</span>&nbsp;&nbsp;
<span class="linenum"> 5024</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5025</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"9.bin"</span>,        0x0000, 0x0800, CRC(96ad8626) SHA1(f003a6e1b00a51bfe326eac18658fafd58c88f88) )
<span class="linenum"> 5026</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11.bin"</span>,       0x0800, 0x0800, CRC(cc324017) SHA1(ea96572e3e24714033688fe7ca99af2fc707c1d3) )
<span class="linenum"> 5027</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"10.bin"</span>,       0x1000, 0x0800, CRC(7c97f513) SHA1(6f78c7cde321ea6ac51d08d0e3620653d0af87db) )
<span class="linenum"> 5028</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"12.bin"</span>,       0x1800, 0x0800, CRC(2e930602) SHA1(4012ec0cc542061b27b9b508bedde3f2ffc11838) )
<span class="linenum"> 5029</span>&nbsp;&nbsp;
<span class="linenum"> 5030</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5031</span>&nbsp;&nbsp;    <span class="comment">/* the board was stripped of its proms, these are the standard ones from Pacman, they look reasonable
<span class="linenum"> 5032</span>&nbsp;&nbsp;       but without another board its impossible to say if they are actually good */</span>
<span class="linenum"> 5033</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, BAD_DUMP CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5034</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, BAD_DUMP CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 5035</span>&nbsp;&nbsp;
<span class="linenum"> 5036</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5037</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5038</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5039</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5040</span>&nbsp;&nbsp;
<span class="linenum"> 5041</span>&nbsp;&nbsp;ROM_START( lizwiz )
<span class="linenum"> 5042</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5043</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6e.cpu"</span>,       0x0000, 0x1000, CRC(32bc1990) SHA1(467c9d70e07f403b6b9118aebe4e6d0abb40a5c1) )
<span class="linenum"> 5044</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6f.cpu"</span>,       0x1000, 0x1000, CRC(ef24b414) SHA1(12fce48008c4f9387df0c84f3b0d7c5a1b35d898) )
<span class="linenum"> 5045</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6h.cpu"</span>,       0x2000, 0x1000, CRC(30bed83d) SHA1(8c2458f98320c6887580c71632b544da0a582ba2) )
<span class="linenum"> 5046</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6j.cpu"</span>,       0x3000, 0x1000, CRC(dd09baeb) SHA1(f91447ec1f06bf95106e6872d80dcb82e1d42ffb) )
<span class="linenum"> 5047</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"wiza"</span>,         0x8000, 0x1000, CRC(f6dea3a6) SHA1(ec0b123fd2e6de6681ca14f35fda249b2c2ec44f) )
<span class="linenum"> 5048</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"wizb"</span>,         0x9000, 0x1000, CRC(f27fb5a8) SHA1(3ea384a1064302709d97fc16b347d3c012e90ac7) )
<span class="linenum"> 5049</span>&nbsp;&nbsp;
<span class="linenum"> 5050</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5051</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e.cpu"</span>,       0x0000, 0x1000, CRC(45059e73) SHA1(c960cd5720bfa21db73e1000fe8be7d5baf2a3a1) )
<span class="linenum"> 5052</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f.cpu"</span>,       0x1000, 0x1000, CRC(d2469717) SHA1(194c8f816e5ff7614b3db4f355223667105738fa) )
<span class="linenum"> 5053</span>&nbsp;&nbsp;
<span class="linenum"> 5054</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5055</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7f.cpu"</span>,       0x0000, 0x0020, CRC(7549a947) SHA1(4f2c3e7d6c38f0b9a90317f91feb3f86c9a0d0a5) )
<span class="linenum"> 5056</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4a.cpu"</span>,       0x0020, 0x0100, CRC(5fdca536) SHA1(3a09b29374031aaa3722932aff974a467b3bb201) )
<span class="linenum"> 5057</span>&nbsp;&nbsp;
<span class="linenum"> 5058</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5059</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5060</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5061</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5062</span>&nbsp;&nbsp;
<span class="linenum"> 5063</span>&nbsp;&nbsp;
<span class="linenum"> 5064</span>&nbsp;&nbsp;ROM_START( theglobp )
<span class="linenum"> 5065</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5066</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.u2"</span>,      0x0000, 0x2000, CRC(829d0bea) SHA1(89f52b459a03fb40b9bbd97ac8a292f7ead6faba) )
<span class="linenum"> 5067</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.u3"</span>,      0x2000, 0x2000, CRC(31de6628) SHA1(35a47dcf34efd74b5b2fda137e06a3dcabd74854) )
<span class="linenum"> 5068</span>&nbsp;&nbsp;
<span class="linenum"> 5069</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5070</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.5e"</span>,      0x0000, 0x1000, CRC(53688260) SHA1(9ce0d1d67d12743b69e8190bf7506b00b2f02955) )
<span class="linenum"> 5071</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.5f"</span>,      0x1000, 0x1000, CRC(051f59c7) SHA1(e1e1322686997e5bcdac164704b328cce352ae42) )
<span class="linenum"> 5072</span>&nbsp;&nbsp;
<span class="linenum"> 5073</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5074</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.7f"</span>,      0x0000, 0x0020, CRC(1f617527) SHA1(448845cab63800a05fcb106897503d994377f78f) )
<span class="linenum"> 5075</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.4a"</span>,      0x0020, 0x0100, CRC(28faa769) SHA1(7588889f3102d4e0ca7918f536556209b2490ea1) )
<span class="linenum"> 5076</span>&nbsp;&nbsp;
<span class="linenum"> 5077</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5078</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5079</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5080</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5081</span>&nbsp;&nbsp;
<span class="linenum"> 5082</span>&nbsp;&nbsp;
<span class="linenum"> 5083</span>&nbsp;&nbsp;<span class="comment">//Program roms same as the globp</span>
<span class="linenum"> 5084</span>&nbsp;&nbsp;ROM_START( sprglobp )
<span class="linenum"> 5085</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5086</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.u2"</span>,      0x0000, 0x2000, CRC(829d0bea) SHA1(89f52b459a03fb40b9bbd97ac8a292f7ead6faba) )
<span class="linenum"> 5087</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.u3"</span>,      0x2000, 0x2000, CRC(31de6628) SHA1(35a47dcf34efd74b5b2fda137e06a3dcabd74854) )
<span class="linenum"> 5088</span>&nbsp;&nbsp;
<span class="linenum"> 5089</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5090</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e_2532.dat"</span>,  0x0000, 0x1000, CRC(1aa16109) SHA1(ddc8606512d7ab7555b84146b9d793f65ad0a75f) )
<span class="linenum"> 5091</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f_2532.dat"</span>,  0x1000, 0x1000, CRC(afe72a89) SHA1(fb17632e2665c3cebc1865ef25fa310cc52725c4) )
<span class="linenum"> 5092</span>&nbsp;&nbsp;
<span class="linenum"> 5093</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5094</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.7f"</span>,      0x0000, 0x0020, CRC(1f617527) SHA1(448845cab63800a05fcb106897503d994377f78f) )
<span class="linenum"> 5095</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.4a"</span>,      0x0020, 0x0100, CRC(28faa769) SHA1(7588889f3102d4e0ca7918f536556209b2490ea1) )
<span class="linenum"> 5096</span>&nbsp;&nbsp;
<span class="linenum"> 5097</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5098</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5099</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5100</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5101</span>&nbsp;&nbsp;
<span class="linenum"> 5102</span>&nbsp;&nbsp;<span class="comment">/* This set is from a modified Pengo board.  Pengo and Pacman are functionally the same.
<span class="linenum"> 5103</span>&nbsp;&nbsp;   The bad sound is probably correct as the sound data is part of the protection. */</span>
<span class="linenum"> 5104</span>&nbsp;&nbsp;ROM_START( sprglbpg )
<span class="linenum"> 5105</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5106</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic8.1"</span>,      0x0000, 0x1000, CRC(a2df2073) SHA1(14c55186053b080de06cc3691111ede8b2ead231) )
<span class="linenum"> 5107</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic7.2"</span>,      0x1000, 0x1000, CRC(3d2c22d9) SHA1(2f1d27e49850f904d1f2256bfcf00557ed88bb16) )
<span class="linenum"> 5108</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic15.3"</span>,      0x2000, 0x1000, CRC(a252047f) SHA1(9fadbb098b86ee98e1a81da938316b833fc26912) )
<span class="linenum"> 5109</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic14.4"</span>,      0x3000, 0x1000, CRC(7efa81f1) SHA1(583999280623f02dcc318a6c7af5ee6fc46144b8) )
<span class="linenum"> 5110</span>&nbsp;&nbsp;
<span class="linenum"> 5111</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5112</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic92.5"</span>,  0x0000, 0x2000, CRC(E54F484D) SHA1(4FEB9EC917C2467A5AC531283CB00FE308BE7775) )
<span class="linenum"> 5113</span>&nbsp;&nbsp;
<span class="linenum"> 5114</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5115</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic78.prm"</span>,      0x0000, 0x0020, CRC(1f617527) SHA1(448845cab63800a05fcb106897503d994377f78f) )
<span class="linenum"> 5116</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic88.prm"</span>,      0x0020, 0x0100, CRC(28faa769) SHA1(7588889f3102d4e0ca7918f536556209b2490ea1) )
<span class="linenum"> 5117</span>&nbsp;&nbsp;
<span class="linenum"> 5118</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5119</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic51.prm"</span>,    0x0000, 0x0100, CRC(c29dea27) SHA1(563c9770028fe39188e62630711589d6ed242a66) )
<span class="linenum"> 5120</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ic70.prm"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5121</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5122</span>&nbsp;&nbsp;
<span class="linenum"> 5123</span>&nbsp;&nbsp;
<span class="linenum"> 5124</span>&nbsp;&nbsp;ROM_START( beastf )
<span class="linenum"> 5125</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5126</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"bf-u2.bin"</span>,    0x0000, 0x2000, CRC(3afc517b) SHA1(5b74bca9e9cd4d8bcf94a340f8f0e53fe1dcfc1d) )
<span class="linenum"> 5127</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"bf-u3.bin"</span>,    0x2000, 0x2000, CRC(8dbd76d0) SHA1(058c01e87ad583eb99d5043a821e6c68f1b30267) )
<span class="linenum"> 5128</span>&nbsp;&nbsp;
<span class="linenum"> 5129</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5130</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"beastf.5e"</span>,    0x0000, 0x1000, CRC(5654dc34) SHA1(fc2336b951a3ab48d4fc4f36a8dd80e79e8ca1a0) )
<span class="linenum"> 5131</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"beastf.5f"</span>,    0x1000, 0x1000, CRC(1b30ca61) SHA1(8495d8a280346246f00c4f1dc42ab5a2a02c5863) )
<span class="linenum"> 5132</span>&nbsp;&nbsp;
<span class="linenum"> 5133</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5134</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.7f"</span>,      0x0000, 0x0020, CRC(1f617527) SHA1(448845cab63800a05fcb106897503d994377f78f) )
<span class="linenum"> 5135</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"glob.4a"</span>,      0x0020, 0x0100, CRC(28faa769) SHA1(7588889f3102d4e0ca7918f536556209b2490ea1) )
<span class="linenum"> 5136</span>&nbsp;&nbsp;
<span class="linenum"> 5137</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5138</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5139</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5140</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5141</span>&nbsp;&nbsp;
<span class="linenum"> 5142</span>&nbsp;&nbsp;
<span class="linenum"> 5143</span>&nbsp;&nbsp;ROM_START( vanvan )
<span class="linenum"> 5144</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5145</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-1.50"</span>,     0x0000, 0x1000, CRC(cf1b2df0) SHA1(938b4434c0129cf9151f829901d00e47dca68956) )
<span class="linenum"> 5146</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-2.51"</span>,     0x1000, 0x1000, CRC(df58e1cb) SHA1(5e0fc713b50d46c7650d6564c20882891864cdc5) )
<span class="linenum"> 5147</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-3.52"</span>,     0x2000, 0x1000, CRC(15571e24) SHA1(d259d81fce16e151b32ac81f94a13b7044fdef95) )
<span class="linenum"> 5148</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-4.53"</span>,     0x3000, 0x1000, CRC(b724cbe0) SHA1(5fe1d3b81d07c538c31daf6522b26bbf35cfc512) )
<span class="linenum"> 5149</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-5.39"</span>,     0x8000, 0x1000, CRC(db67414c) SHA1(19eba21dfea24507b386ea1b5ce737c5822b0696) )
<span class="linenum"> 5150</span>&nbsp;&nbsp;
<span class="linenum"> 5151</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5152</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-20.18"</span>,    0x0000, 0x1000, CRC(60efbe66) SHA1(ac398f77bfeab3d18ffd496e117825bfbeed4b62) )
<span class="linenum"> 5153</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-21.19"</span>,    0x1000, 0x1000, CRC(5dd53723) SHA1(f75c869ac364f477d532e695347ceb5e281f9efa) )
<span class="linenum"> 5154</span>&nbsp;&nbsp;
<span class="linenum"> 5155</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5156</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6331-1.6"</span>,     0x0000, 0x0020, CRC(ce1d9503) SHA1(b829bed78c02d9998c1aecb8f6813e90b417a7f2) )
<span class="linenum"> 5157</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6301-1.37"</span>,    0x0020, 0x0100, CRC(4b803d9f) SHA1(59b7f2e22c4e0b20ac3b12d88996a6dfeebc5933) )
<span class="linenum"> 5158</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5159</span>&nbsp;&nbsp;
<span class="linenum"> 5160</span>&nbsp;&nbsp;ROM_START( vanvank )
<span class="linenum"> 5161</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5162</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van1.bin"</span>,     0x0000, 0x1000, CRC(00f48295) SHA1(703fab63760cadcce042b491d7d1d45301319158) )
<span class="linenum"> 5163</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-2.51"</span>,     0x1000, 0x1000, CRC(df58e1cb) SHA1(5e0fc713b50d46c7650d6564c20882891864cdc5) )
<span class="linenum"> 5164</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-3.52"</span>,     0x2000, 0x1000, CRC(15571e24) SHA1(d259d81fce16e151b32ac81f94a13b7044fdef95) )
<span class="linenum"> 5165</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van4.bin"</span>,     0x3000, 0x1000, CRC(f8b37ed5) SHA1(34f844be891dfa5f6a1160de6f428e9dacd618a8) )
<span class="linenum"> 5166</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van5.bin"</span>,     0x8000, 0x1000, CRC(b8c1e089) SHA1(c614fb9159210f6cf68f5085bfebd928caded91c) )
<span class="linenum"> 5167</span>&nbsp;&nbsp;
<span class="linenum"> 5168</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5169</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-20.18"</span>,    0x0000, 0x1000, CRC(60efbe66) SHA1(ac398f77bfeab3d18ffd496e117825bfbeed4b62) )
<span class="linenum"> 5170</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"van-21.19"</span>,    0x1000, 0x1000, CRC(5dd53723) SHA1(f75c869ac364f477d532e695347ceb5e281f9efa) )
<span class="linenum"> 5171</span>&nbsp;&nbsp;
<span class="linenum"> 5172</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5173</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6331-1.6"</span>,     0x0000, 0x0020, CRC(ce1d9503) SHA1(b829bed78c02d9998c1aecb8f6813e90b417a7f2) )
<span class="linenum"> 5174</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6301-1.37"</span>,    0x0020, 0x0100, CRC(4b803d9f) SHA1(59b7f2e22c4e0b20ac3b12d88996a6dfeebc5933) )
<span class="linenum"> 5175</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5176</span>&nbsp;&nbsp;
<span class="linenum"> 5177</span>&nbsp;&nbsp;
<span class="linenum"> 5178</span>&nbsp;&nbsp;ROM_START( vanvanb )
<span class="linenum"> 5179</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5180</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"vv1.bin"</span>,     0x0000, 0x1000, CRC(cf1b2df0) SHA1(938b4434c0129cf9151f829901d00e47dca68956) )
<span class="linenum"> 5181</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"vv2.bin"</span>,     0x1000, 0x1000, CRC(80eca6a5) SHA1(e3e711e5c27f5effdae95222a019e427a754d505) )
<span class="linenum"> 5182</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"vv3.bin"</span>,     0x2000, 0x1000, CRC(15571e24) SHA1(d259d81fce16e151b32ac81f94a13b7044fdef95) )
<span class="linenum"> 5183</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"vv4.bin"</span>,     0x3000, 0x1000, CRC(b1f04006) SHA1(f0dccce9cc9871ff671e86947512f354ff5f4f13) )
<span class="linenum"> 5184</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"vv5.bin"</span>,     0x8000, 0x1000, CRC(db67414c) SHA1(19eba21dfea24507b386ea1b5ce737c5822b0696) )
<span class="linenum"> 5185</span>&nbsp;&nbsp;
<span class="linenum"> 5186</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5187</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"vv20.bin"</span>,    0x0000, 0x1000, CRC(eb56cb51) SHA1(fa8c4f61acbbc0ea7b41aff2624dadcc581ddf8c) )
<span class="linenum"> 5188</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"vv21.bin"</span>,    0x1000, 0x1000, CRC(5dd53723) SHA1(f75c869ac364f477d532e695347ceb5e281f9efa) )
<span class="linenum"> 5189</span>&nbsp;&nbsp;
<span class="linenum"> 5190</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5191</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6331-1.6"</span>,     0x0000, 0x0020, CRC(ce1d9503) SHA1(b829bed78c02d9998c1aecb8f6813e90b417a7f2) )
<span class="linenum"> 5192</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6301-1.37"</span>,    0x0020, 0x0100, CRC(4b803d9f) SHA1(59b7f2e22c4e0b20ac3b12d88996a6dfeebc5933) )
<span class="linenum"> 5193</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5194</span>&nbsp;&nbsp;
<span class="linenum"> 5195</span>&nbsp;&nbsp;
<span class="linenum"> 5196</span>&nbsp;&nbsp;ROM_START( dremshpr )
<span class="linenum"> 5197</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5198</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red_1.50"</span>,     0x0000, 0x1000, CRC(830c6361) SHA1(a28c517a9b7f509e0dedacea64b9740335315457) )
<span class="linenum"> 5199</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red_2.51"</span>,     0x1000, 0x1000, CRC(d22551cc) SHA1(2c513908899b618f0c0a0c3e48c4a4aad90f627e) )
<span class="linenum"> 5200</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red_3.52"</span>,     0x2000, 0x1000, CRC(0713a34a) SHA1(37733b557e6afe116f5d3c8bc918f59124a8229d) )
<span class="linenum"> 5201</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red_4.53"</span>,     0x3000, 0x1000, CRC(f38bcaaa) SHA1(cdebeaf5b77ac5a8b4668cff97b6351e075b392b) )
<span class="linenum"> 5202</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red_5.39"</span>,     0x8000, 0x1000, CRC(6a382267) SHA1(7d6a1c75de8a6eb714ba9a18dd3c497832145bcc) )
<span class="linenum"> 5203</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red_6.40"</span>,     0x9000, 0x1000, CRC(4cf8b121) SHA1(04162b41e747dfa442b958bd360e49993c5c4162) )
<span class="linenum"> 5204</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red_7.41"</span>,     0xa000, 0x1000, CRC(bd4fc4ba) SHA1(50a5858acde5fd4b3476f5502141e7d492c3af9f) )
<span class="linenum"> 5205</span>&nbsp;&nbsp;
<span class="linenum"> 5206</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5207</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red-20.18"</span>,    0x0000, 0x1000, CRC(2d6698dc) SHA1(5f5e54fdcff53c6ba783d585cd994cf563c53613) )
<span class="linenum"> 5208</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"red-21.19"</span>,    0x1000, 0x1000, CRC(38c9ce9b) SHA1(c719bcd77549228e72ad9bcc42f5db0070ec5dca) )
<span class="linenum"> 5209</span>&nbsp;&nbsp;
<span class="linenum"> 5210</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5211</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6331-1.6"</span>,     0x0000, 0x0020, CRC(ce1d9503) SHA1(b829bed78c02d9998c1aecb8f6813e90b417a7f2) )
<span class="linenum"> 5212</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6301-1.37"</span>,    0x0020, 0x0100, CRC(39d6fb5c) SHA1(848f9cd02f90006e8a2aae3693b57ae391cf498b) )
<span class="linenum"> 5213</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5214</span>&nbsp;&nbsp;
<span class="linenum"> 5215</span>&nbsp;&nbsp;
<span class="linenum"> 5216</span>&nbsp;&nbsp;ROM_START( alibaba )
<span class="linenum"> 5217</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5218</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6e"</span>,           0x0000, 0x1000, CRC(38d701aa) SHA1(4e886a4a17f441f6d1d213c4c433b40dd38eefbc) )
<span class="linenum"> 5219</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6f"</span>,           0x1000, 0x1000, CRC(3d0e35f3) SHA1(6b9a1fd11db9f521417566ae4c7065151aa272b5) )
<span class="linenum"> 5220</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6h"</span>,           0x2000, 0x1000, CRC(823bee89) SHA1(5381a4fcbc9fa97574c6df2978c7500164df75e5) )
<span class="linenum"> 5221</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6k"</span>,           0x3000, 0x1000, CRC(474d032f) SHA1(4516a60ec83e3c3388cd56f538f49afc86a50983) )
<span class="linenum"> 5222</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6l"</span>,           0x8000, 0x1000, CRC(5ab315c1) SHA1(6f3507ad10432f9123150b8bc1d0fb52372a412b) )
<span class="linenum"> 5223</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6m"</span>,           0xa000, 0x0800, CRC(438d0357) SHA1(7caaf668906b76d4947e988c444723b33f8e9726) )
<span class="linenum"> 5224</span>&nbsp;&nbsp;
<span class="linenum"> 5225</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5226</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x0800, CRC(85bcb8f8) SHA1(986170627953582b1e6fbca59e5c15cf8c4de9c7) )
<span class="linenum"> 5227</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5h"</span>,           0x0800, 0x0800, CRC(38e50862) SHA1(094d090bd0563f75d6ff1bfe2302cae941a89504) )
<span class="linenum"> 5228</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x0800, CRC(b5715c86) SHA1(ed6aee778295b0182d32846b5e41776b5b15420c) )
<span class="linenum"> 5229</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5k"</span>,           0x1800, 0x0800, CRC(713086b3) SHA1(a1609bae637207a82920678f05bcc10a5ff096de) )
<span class="linenum"> 5230</span>&nbsp;&nbsp;
<span class="linenum"> 5231</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5232</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.e7"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5233</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.a4"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 5234</span>&nbsp;&nbsp;
<span class="linenum"> 5235</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5236</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5237</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5238</span>&nbsp;&nbsp;
<span class="linenum"> 5239</span>&nbsp;&nbsp;    <span class="comment">/* unknown, used for the mystery items ? */</span>
<span class="linenum"> 5240</span>&nbsp;&nbsp;    ROM_REGION( 0x1000, <span class="string">"user1"</span>, 0 )
<span class="linenum"> 5241</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ab7.bin"</span>,      0x0000, 0x0800, CRC(52294ef5) SHA1(1d76e16c95cb2873d898a4151a902113fccafe1c) ) <span class="comment">// 7.p6 dumped as 0x1000 - 1ST AND 2ND HALF IDENTICAL</span>
<span class="linenum"> 5242</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5243</span>&nbsp;&nbsp;
<span class="linenum"> 5244</span>&nbsp;&nbsp;
<span class="linenum"> 5245</span>&nbsp;&nbsp;ROM_START( alibabab )
<span class="linenum"> 5246</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5247</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6e"</span>,           0x0000, 0x1000, CRC(38d701aa) SHA1(4e886a4a17f441f6d1d213c4c433b40dd38eefbc) ) <span class="comment">// ab1.bin</span>
<span class="linenum"> 5248</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6f"</span>,           0x1000, 0x1000, CRC(3d0e35f3) SHA1(6b9a1fd11db9f521417566ae4c7065151aa272b5) ) <span class="comment">// ab2.bin</span>
<span class="linenum"> 5249</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6h"</span>,           0x2000, 0x1000, CRC(823bee89) SHA1(5381a4fcbc9fa97574c6df2978c7500164df75e5) ) <span class="comment">// ab3.bin</span>
<span class="linenum"> 5250</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6k"</span>,           0x3000, 0x1000, CRC(474d032f) SHA1(4516a60ec83e3c3388cd56f538f49afc86a50983) ) <span class="comment">// ab4.bin</span>
<span class="linenum"> 5251</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ab5.bin"</span>,      0x8000, 0x1000, CRC(ae2f4aac) SHA1(8583514e4a876ecdb1bc2c65f9829f0bebfdee0d) )
<span class="linenum"> 5252</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6m"</span>,           0xa000, 0x0800, CRC(438d0357) SHA1(7caaf668906b76d4947e988c444723b33f8e9726) ) <span class="comment">// ab6.bin</span>
<span class="linenum"> 5253</span>&nbsp;&nbsp;
<span class="linenum"> 5254</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5255</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x0800, CRC(85bcb8f8) SHA1(986170627953582b1e6fbca59e5c15cf8c4de9c7) ) <span class="comment">// ab8.bin</span>
<span class="linenum"> 5256</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5h"</span>,           0x0800, 0x0800, CRC(38e50862) SHA1(094d090bd0563f75d6ff1bfe2302cae941a89504) ) <span class="comment">// ab10.bin</span>
<span class="linenum"> 5257</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x0800, CRC(b5715c86) SHA1(ed6aee778295b0182d32846b5e41776b5b15420c) ) <span class="comment">// ab9.bin</span>
<span class="linenum"> 5258</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5k"</span>,           0x1800, 0x0800, CRC(713086b3) SHA1(a1609bae637207a82920678f05bcc10a5ff096de) ) <span class="comment">// ab11.bin</span>
<span class="linenum"> 5259</span>&nbsp;&nbsp;
<span class="linenum"> 5260</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5261</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.e7"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5262</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s129.a4"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 5263</span>&nbsp;&nbsp;
<span class="linenum"> 5264</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5265</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5266</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5267</span>&nbsp;&nbsp;
<span class="linenum"> 5268</span>&nbsp;&nbsp;    <span class="comment">/* unknown, used for the mystery items ? */</span>
<span class="linenum"> 5269</span>&nbsp;&nbsp;    ROM_REGION( 0x1000, <span class="string">"user1"</span>, 0 )
<span class="linenum"> 5270</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ab7.bin"</span>,      0x0000, 0x0800, CRC(52294ef5) SHA1(1d76e16c95cb2873d898a4151a902113fccafe1c) )
<span class="linenum"> 5271</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5272</span>&nbsp;&nbsp;
<span class="linenum"> 5273</span>&nbsp;&nbsp;
<span class="linenum"> 5274</span>&nbsp;&nbsp;ROM_START( jumpshot )
<span class="linenum"> 5275</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5276</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6e"</span>,           0x0000, 0x1000, CRC(f00def9a) SHA1(465a7f368e61a1e6614d6eab0fa2c6319920eaa5) )
<span class="linenum"> 5277</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6f"</span>,           0x1000, 0x1000, CRC(f70deae2) SHA1(a8a8369e865b62cb9ed66d3de2396c6a5fced549) )
<span class="linenum"> 5278</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6h"</span>,           0x2000, 0x1000, CRC(894d6f68) SHA1(8693ffc29587cdd1be0b42cede53f8f450a2c7fa) )
<span class="linenum"> 5279</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6j"</span>,           0x3000, 0x1000, CRC(f15a108a) SHA1(db5c8394f688c6f889cadddeeae4fbca63c29a4c) )
<span class="linenum"> 5280</span>&nbsp;&nbsp;
<span class="linenum"> 5281</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5282</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(d9fa90f5) SHA1(3c37fe077a77baa802230dddbc4bb2c05985d2bb) )
<span class="linenum"> 5283</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(2ec711c1) SHA1(fcc3169f48eb7d4af533ad0169701e4230ff5a1f) )
<span class="linenum"> 5284</span>&nbsp;&nbsp;
<span class="linenum"> 5285</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5286</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"prom.7f"</span>,      0x0000, 0x0020, CRC(872b42f3) SHA1(bbcd392ba3d2a5715e92fa0f7a7cf1e7e6e655a2) )
<span class="linenum"> 5287</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"prom.4a"</span>,      0x0020, 0x0100, CRC(0399f39f) SHA1(e98f08da4666cab44e01acb760a1bd2fc858bc0d) )
<span class="linenum"> 5288</span>&nbsp;&nbsp;
<span class="linenum"> 5289</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5290</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5291</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5292</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5293</span>&nbsp;&nbsp;
<span class="linenum"> 5294</span>&nbsp;&nbsp;
<span class="linenum"> 5295</span>&nbsp;&nbsp;ROM_START( jumpshotp )
<span class="linenum"> 5296</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5297</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"js6e.bin"</span>,           0x0000, 0x1000, CRC(acc5e15e) SHA1(c9516f2d0862b29a3efe19eb13ab68decd670ca8) )
<span class="linenum"> 5298</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"js6f.bin"</span>,           0x1000, 0x1000, CRC(62b48ba4) SHA1(a17d8ca68de6116822cf4eff70eada04a3fbb4c3) )
<span class="linenum"> 5299</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"js6h.bin"</span>,           0x2000, 0x1000, CRC(7c9b5e30) SHA1(44c7694b8bd774550ec865d133f5660b90350428) )
<span class="linenum"> 5300</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"js6j.bin"</span>,           0x3000, 0x1000, CRC(9f0c39f6) SHA1(8714c9b0853206ec5d79155b4310195b46fafbf6) )
<span class="linenum"> 5301</span>&nbsp;&nbsp;
<span class="linenum"> 5302</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5303</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e"</span>,           0x0000, 0x1000, CRC(d9fa90f5) SHA1(3c37fe077a77baa802230dddbc4bb2c05985d2bb) )
<span class="linenum"> 5304</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f"</span>,           0x1000, 0x1000, CRC(2ec711c1) SHA1(fcc3169f48eb7d4af533ad0169701e4230ff5a1f) )
<span class="linenum"> 5305</span>&nbsp;&nbsp;
<span class="linenum"> 5306</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5307</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"prom.7f"</span>,      0x0000, 0x0020, CRC(872b42f3) SHA1(bbcd392ba3d2a5715e92fa0f7a7cf1e7e6e655a2) )
<span class="linenum"> 5308</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"prom.4a"</span>,      0x0020, 0x0100, CRC(0399f39f) SHA1(e98f08da4666cab44e01acb760a1bd2fc858bc0d) )
<span class="linenum"> 5309</span>&nbsp;&nbsp;
<span class="linenum"> 5310</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5311</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5312</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5313</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5314</span>&nbsp;&nbsp;
<span class="linenum"> 5315</span>&nbsp;&nbsp;
<span class="linenum"> 5316</span>&nbsp;&nbsp;ROM_START( shootbul )
<span class="linenum"> 5317</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5318</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"sb6e.cpu"</span>,     0x0000, 0x1000, CRC(25daa5e9) SHA1(8257de5e0e62235d05d74b53e5fc716e85cb05b9) )
<span class="linenum"> 5319</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"sb6f.cpu"</span>,     0x1000, 0x1000, CRC(92144044) SHA1(905a354a806da47ab40577171acdac7db635d102) )
<span class="linenum"> 5320</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"sb6h.cpu"</span>,     0x2000, 0x1000, CRC(43b7f99d) SHA1(6372763fbbca3581376204c5e58ceedd3f47fc60) )
<span class="linenum"> 5321</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"sb6j.cpu"</span>,     0x3000, 0x1000, CRC(bc4d3bbf) SHA1(2fa15b339166b9a5bf711b58a1705bc0b9e528e2) )
<span class="linenum"> 5322</span>&nbsp;&nbsp;
<span class="linenum"> 5323</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5324</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"sb5e.cpu"</span>,     0x0000, 0x1000, CRC(07c6c5aa) SHA1(cbe99ece795f29fdeef374cbf9b1f45ff065e803) )
<span class="linenum"> 5325</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"sb5f.cpu"</span>,     0x1000, 0x1000, CRC(eaec6837) SHA1(ff21b0fd5381afb1ba7f5920132006ee8e6d10eb) )
<span class="linenum"> 5326</span>&nbsp;&nbsp;
<span class="linenum"> 5327</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5328</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7f.rom"</span>,       0x0000, 0x0020, CRC(ec578b98) SHA1(196da49cc260f967ec5f01bc3c75b11077c85998) )
<span class="linenum"> 5329</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4a.rom"</span>,       0x0020, 0x0100, CRC(81a6b30f) SHA1(60c767fd536c325151a2b759fdbce4ba41e0c78f) )
<span class="linenum"> 5330</span>&nbsp;&nbsp;
<span class="linenum"> 5331</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5332</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5333</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5334</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5335</span>&nbsp;&nbsp;
<span class="linenum"> 5336</span>&nbsp;&nbsp;
<span class="linenum"> 5337</span>&nbsp;&nbsp;ROM_START( acitya )
<span class="linenum"> 5338</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5339</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"aca_u2.bin"</span>,   0x0000, 0x2000, CRC(261c2fdc) SHA1(b4e7e6c8d8e401c7e4673213074802a73b9886a2) )
<span class="linenum"> 5340</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"aca_u3.bin"</span>,   0x2000, 0x2000, CRC(05fab4ca) SHA1(5172229eda25920eeaa6d9f610f2bcfa674979b7) )
<span class="linenum"> 5341</span>&nbsp;&nbsp;
<span class="linenum"> 5342</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5343</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"aca_5e.bin"</span>,   0x0000, 0x1000, CRC(7f2dd2c9) SHA1(aa7ea70355904989b99d568d1e055e8272cfa8ca) )
<span class="linenum"> 5344</span>&nbsp;&nbsp;    ROM_RELOAD( 0x1000, 0x1000 ) <span class="comment">/* Not Used?? */</span>
<span class="linenum"> 5345</span>&nbsp;&nbsp;
<span class="linenum"> 5346</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5347</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"aca_7f.bin"</span>,   0x0000, 0x0020, CRC(133bb744) SHA1(da4074f3ea30202973f0b6c9ad05a992bb44eafd) )
<span class="linenum"> 5348</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"aca_4a.bin"</span>,   0x0020, 0x0100, CRC(8e29208f) SHA1(a30a405fbd43d27a8d403f6c3545178564dede5d) )
<span class="linenum"> 5349</span>&nbsp;&nbsp;
<span class="linenum"> 5350</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5351</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5352</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5353</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5354</span>&nbsp;&nbsp;
<span class="linenum"> 5355</span>&nbsp;&nbsp;ROM_START( bwcasino )
<span class="linenum"> 5356</span>&nbsp;&nbsp;    ROM_REGION( 0x20000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5357</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"bwc_u2.bin"</span>,   0x0000, 0x2000, CRC(e2eea868) SHA1(9e9dae02ab746ef48981f42a75c192c5aae0ffee) )
<span class="linenum"> 5358</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"bwc_u3.bin"</span>,   0x2000, 0x2000, CRC(a935571e) SHA1(ab4f53be2544593fc8eb4c4bcccdec4191c0c626) )
<span class="linenum"> 5359</span>&nbsp;&nbsp;
<span class="linenum"> 5360</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5361</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"bwc_5e.bin"</span>,   0x0000, 0x1000, CRC(e334c01e) SHA1(cc6e50e3cf51eb8b7b27aa7351733954da8128ff) )
<span class="linenum"> 5362</span>&nbsp;&nbsp;    ROM_RELOAD( 0x1000, 0x1000 ) <span class="comment">/* Not Used?? */</span>
<span class="linenum"> 5363</span>&nbsp;&nbsp;
<span class="linenum"> 5364</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5365</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"aca_7f.bin"</span>,   0x0000, 0x0020, CRC(133bb744) SHA1(da4074f3ea30202973f0b6c9ad05a992bb44eafd) )
<span class="linenum"> 5366</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"aca_4a.bin"</span>,   0x0020, 0x0100, CRC(8e29208f) SHA1(a30a405fbd43d27a8d403f6c3545178564dede5d) )
<span class="linenum"> 5367</span>&nbsp;&nbsp;
<span class="linenum"> 5368</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5369</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5370</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5371</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5372</span>&nbsp;&nbsp;
<span class="linenum"> 5373</span>&nbsp;&nbsp;
<span class="linenum"> 5374</span>&nbsp;&nbsp;ROM_START( newpuc2 )
<span class="linenum"> 5375</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 5376</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6e.cpu"</span>, 0x0000, 0x0800, CRC(69496a98) SHA1(2934051d6305cc3654951bc1aacf2b8902f463fe) )
<span class="linenum"> 5377</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6k.cpu"</span>, 0x0800, 0x0800, CRC(158fc01c) SHA1(2f7a1e24d259fdc716ef8e7354a87780595f3c4e) )
<span class="linenum"> 5378</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6f.cpu"</span>, 0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
<span class="linenum"> 5379</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6m.cpu"</span>, 0x1800, 0x0800, CRC(70810ccf) SHA1(3941678606aab1e53356a6781e24d84e83cc88ce) )
<span class="linenum"> 5380</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6h.cpu"</span>, 0x2000, 0x0800, CRC(81719de8) SHA1(e886d04ac0e20562a4bd2df7676bdf9aa98665d7) )
<span class="linenum"> 5381</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6n.cpu"</span>, 0x2800, 0x0800, CRC(3f250c58) SHA1(53bf2270c26f10f7e97960cd4c96e09e16b9bdf3) )
<span class="linenum"> 5382</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6j.cpu"</span>, 0x3000, 0x0800, CRC(e6675736) SHA1(85d0bb79bc96acbc67fcb70ff4d453c870a6c8ea) )
<span class="linenum"> 5383</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6p.cpu"</span>, 0x3800, 0x0800, CRC(1f81e765) SHA1(442d8a82e79ae842f1ffb46369c632c1d0b83161) )
<span class="linenum"> 5384</span>&nbsp;&nbsp;
<span class="linenum"> 5385</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 5386</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e.cpu"</span>, 0x0000, 0x0800, CRC(2066a0b7) SHA1(6d4ccc27d6be185589e08aa9f18702b679e49a4a) )
<span class="linenum"> 5387</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5h.cpu"</span>, 0x0800, 0x0800, CRC(777c70d3) SHA1(ed5ccbeb1102ec9f837577de3aa51317c32520d6) )
<span class="linenum"> 5388</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f.cpu"</span>, 0x1000, 0x0800, CRC(ca8c184c) SHA1(833aa845824ed80777b62f03df36a920ad7c3656) )
<span class="linenum"> 5389</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5j.cpu"</span>, 0x1800, 0x0800, CRC(7dc75a81) SHA1(d3fe1cad3b594052d8367685febb2335b0ad62f4) )
<span class="linenum"> 5390</span>&nbsp;&nbsp;
<span class="linenum"> 5391</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5392</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5393</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 5394</span>&nbsp;&nbsp;
<span class="linenum"> 5395</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5396</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5397</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   <span class="comment">/*timing - not used */</span>
<span class="linenum"> 5398</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5399</span>&nbsp;&nbsp;
<span class="linenum"> 5400</span>&nbsp;&nbsp;
<span class="linenum"> 5401</span>&nbsp;&nbsp;ROM_START( newpuc2b )
<span class="linenum"> 5402</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 5403</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"np2b1.bin"</span>, 0x0000, 0x0800, CRC(9d027c4a) SHA1(88e094880057451a75cdc2ce9477403021813982) )
<span class="linenum"> 5404</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6k.cpu"</span>, 0x0800, 0x0800, CRC(158fc01c) SHA1(2f7a1e24d259fdc716ef8e7354a87780595f3c4e) )
<span class="linenum"> 5405</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6f.cpu"</span>, 0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
<span class="linenum"> 5406</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6m.cpu"</span>, 0x1800, 0x0800, CRC(70810ccf) SHA1(3941678606aab1e53356a6781e24d84e83cc88ce) )
<span class="linenum"> 5407</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"np2b3.bin"</span>, 0x2000, 0x0800, CRC(f5e4b2b1) SHA1(68464f61cc50931f6cd4bb493dd703c139500825) )
<span class="linenum"> 5408</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6n.cpu"</span>, 0x2800, 0x0800, CRC(3f250c58) SHA1(53bf2270c26f10f7e97960cd4c96e09e16b9bdf3) )
<span class="linenum"> 5409</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"np2b4.bin"</span>, 0x3000, 0x0800, CRC(f068e009) SHA1(a30763935e116559d535654827230bb21a5734bb) )
<span class="linenum"> 5410</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"np2b8.bin"</span>, 0x3800, 0x0800, CRC(1fadcc2f) SHA1(2d636cfc2b52b671ac5a26a03b1195e2cf8d4718) )
<span class="linenum"> 5411</span>&nbsp;&nbsp;
<span class="linenum"> 5412</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 5413</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e.cpu"</span>, 0x0000, 0x0800, CRC(2066a0b7) SHA1(6d4ccc27d6be185589e08aa9f18702b679e49a4a) )
<span class="linenum"> 5414</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5h.cpu"</span>, 0x0800, 0x0800, CRC(777c70d3) SHA1(ed5ccbeb1102ec9f837577de3aa51317c32520d6) )
<span class="linenum"> 5415</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5f.cpu"</span>, 0x1000, 0x0800, CRC(ca8c184c) SHA1(833aa845824ed80777b62f03df36a920ad7c3656) )
<span class="linenum"> 5416</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5j.cpu"</span>, 0x1800, 0x0800, CRC(7dc75a81) SHA1(d3fe1cad3b594052d8367685febb2335b0ad62f4) )
<span class="linenum"> 5417</span>&nbsp;&nbsp;
<span class="linenum"> 5418</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5419</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5420</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 5421</span>&nbsp;&nbsp;
<span class="linenum"> 5422</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 ) <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5423</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5424</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   <span class="comment">/*timing - not used */</span>
<span class="linenum"> 5425</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5426</span>&nbsp;&nbsp;
<span class="linenum"> 5427</span>&nbsp;&nbsp;ROM_START( nmouse )
<span class="linenum"> 5428</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 5429</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.d7"</span>, 0x0000, 0x0800, CRC(e447ecfa) SHA1(45bce93f4a4e1c9994fb6b0c81691a14cae43ae5) )
<span class="linenum"> 5430</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.d6"</span>, 0x0800, 0x0800, CRC(2e6f13d9) SHA1(1278bd1ddd84ac5b956cb4d25c151871fab2b1d9) )
<span class="linenum"> 5431</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.e7"</span>, 0x1000, 0x0800, CRC(44a80f97) SHA1(d06ffd96c72c3c8a3c71df564e8f5f9fb289b398) )
<span class="linenum"> 5432</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.e6"</span>, 0x1800, 0x0800, CRC(9c7a46bd) SHA1(04771a99295fc6d3c41807e2c4437ff4e7e4ba4a) )
<span class="linenum"> 5433</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.h7"</span>, 0x2000, 0x0800, CRC(5bc94c5d) SHA1(9238add33bbde151532b7ce3917566d9b4f67c62) )
<span class="linenum"> 5434</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.h6"</span>, 0x2800, 0x0800, CRC(1af29e22) SHA1(628291aa97f5f88793f624af66a0c2b021328ef9) )
<span class="linenum"> 5435</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.j7"</span>, 0x3000, 0x0800, CRC(cc3be185) SHA1(92fdc87256d16c4e400da83e3ca2786012766767) )
<span class="linenum"> 5436</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.j6"</span>, 0x3800, 0x0800, CRC(66b3e5dc) SHA1(0ca7e67ef0ff908bb9953399f024e8b1aaf74e55) )
<span class="linenum"> 5437</span>&nbsp;&nbsp;
<span class="linenum"> 5438</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 5439</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.d5"</span>, 0x0000, 0x0800, CRC(2ea7cc3f) SHA1(ffeca1c382a7ae0cd898eab2905a0e8e96b95bee) )
<span class="linenum"> 5440</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.h5"</span>, 0x0800, 0x0800, CRC(0511fcea) SHA1(52a498ca024b5c758ad0c978d3f67cdbbf2c56d3) )
<span class="linenum"> 5441</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.e5"</span>, 0x1000, 0x0800, CRC(f5a627cd) SHA1(2b8bc6d29e2aead924423a232c130151c8a8ebe5) )
<span class="linenum"> 5442</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.j5"</span>, 0x1800, 0x0800, CRC(65f2580e) SHA1(769905837b98736ef2bfcaafa7820083dad80c57) )
<span class="linenum"> 5443</span>&nbsp;&nbsp;
<span class="linenum"> 5444</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5445</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5446</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.a4"</span>, 0x0020, 0x0100, CRC(d8772167) SHA1(782fa53f0de7262924a92d75f12a42bc4e44c812) )
<span class="linenum"> 5447</span>&nbsp;&nbsp;
<span class="linenum"> 5448</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5449</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5450</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   <span class="comment">/*timing - not used */</span>
<span class="linenum"> 5451</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5452</span>&nbsp;&nbsp;
<span class="linenum"> 5453</span>&nbsp;&nbsp;ROM_START( nmouseb )
<span class="linenum"> 5454</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 5455</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.d7"</span>, 0x0000, 0x0800, CRC(e447ecfa) SHA1(45bce93f4a4e1c9994fb6b0c81691a14cae43ae5) )
<span class="linenum"> 5456</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.d6"</span>, 0x0800, 0x0800, CRC(2e6f13d9) SHA1(1278bd1ddd84ac5b956cb4d25c151871fab2b1d9) )
<span class="linenum"> 5457</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.e7"</span>, 0x1000, 0x0800, CRC(44a80f97) SHA1(d06ffd96c72c3c8a3c71df564e8f5f9fb289b398) )
<span class="linenum"> 5458</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.e6"</span>, 0x1800, 0x0800, CRC(9c7a46bd) SHA1(04771a99295fc6d3c41807e2c4437ff4e7e4ba4a) )
<span class="linenum"> 5459</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"snatch2.bin"</span>, 0x2000, 0x0800, CRC(405aa389) SHA1(687c82d94309c4ed83b72d656dbe7068b1de1b44) )
<span class="linenum"> 5460</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"snatch6.bin"</span>, 0x2800, 0x0800, CRC(f58e7df4) SHA1(a0853374a2a8c3ab572154d12e2e6297c97bd8b9) )
<span class="linenum"> 5461</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"snatch3.bin"</span>, 0x3000, 0x0800, CRC(06fb18ec) SHA1(ad57ffdb0fc5acdddeb85c4ce3ad618124fd7a6d) )
<span class="linenum"> 5462</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"snatch7.bin"</span>, 0x3800, 0x0800, CRC(d187b82b) SHA1(db739d5894a7fbfbc2e384ee1bdfe170935b2df7) )
<span class="linenum"> 5463</span>&nbsp;&nbsp;
<span class="linenum"> 5464</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 5465</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.d5"</span>,  0x0000, 0x0800, CRC(2ea7cc3f) SHA1(ffeca1c382a7ae0cd898eab2905a0e8e96b95bee) )
<span class="linenum"> 5466</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.h5"</span>,  0x0800, 0x0800, CRC(0511fcea) SHA1(52a498ca024b5c758ad0c978d3f67cdbbf2c56d3) )
<span class="linenum"> 5467</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.e5"</span>,  0x1000, 0x0800, CRC(f5a627cd) SHA1(2b8bc6d29e2aead924423a232c130151c8a8ebe5) )
<span class="linenum"> 5468</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"snatch11.bin"</span>, 0x1800, 0x0800, CRC(330230a5) SHA1(3de4e454dd51b2ef05b5e1c74c8d12f8cb3f42ef) )
<span class="linenum"> 5469</span>&nbsp;&nbsp;
<span class="linenum"> 5470</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5471</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5472</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"naumouse.a4"</span>, 0x0020, 0x0100, CRC(d8772167) SHA1(782fa53f0de7262924a92d75f12a42bc4e44c812) )
<span class="linenum"> 5473</span>&nbsp;&nbsp;
<span class="linenum"> 5474</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5475</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5476</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   <span class="comment">/*timing - not used */</span>
<span class="linenum"> 5477</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5478</span>&nbsp;&nbsp;
<span class="linenum"> 5479</span>&nbsp;&nbsp;
<span class="linenum"> 5480</span>&nbsp;&nbsp;<span class="comment">/*
<span class="linenum"> 5481</span>&nbsp;&nbsp;Wood Pecker
<span class="linenum"> 5482</span>&nbsp;&nbsp;Amenip, 1981
<span class="linenum"> 5483</span>&nbsp;&nbsp;
<span class="linenum"> 5484</span>&nbsp;&nbsp;This game uses a fairly large epoxy-filled plug-in security module which
<span class="linenum"> 5485</span>&nbsp;&nbsp;connects to a DIP40 socket on the main board.
<span class="linenum"> 5486</span>&nbsp;&nbsp;The module contains all of the program code and a Z80 plus some logic glue.
<span class="linenum"> 5487</span>&nbsp;&nbsp;
<span class="linenum"> 5488</span>&nbsp;&nbsp;Main PCB Layout
<span class="linenum"> 5489</span>&nbsp;&nbsp;---------------
<span class="linenum"> 5490</span>&nbsp;&nbsp;
<span class="linenum"> 5491</span>&nbsp;&nbsp;|--------------|---------------|------------------------|
<span class="linenum"> 5492</span>&nbsp;&nbsp;|    18.432MHz | DIP40         |     PR.4A              |
<span class="linenum"> 5493</span>&nbsp;&nbsp;|              |               |                        |
<span class="linenum"> 5494</span>&nbsp;&nbsp;|              |               |                        |
<span class="linenum"> 5495</span>&nbsp;&nbsp;|              |       DIP28   |              6148      |
<span class="linenum"> 5496</span>&nbsp;&nbsp;|-|            |               |                        |
<span class="linenum"> 5497</span>&nbsp;&nbsp;  |            |DIP24  DIP24   |A.5E                    |
<span class="linenum"> 5498</span>&nbsp;&nbsp;|-|            |               |                        |
<span class="linenum"> 5499</span>&nbsp;&nbsp;|3             |DIP24  DIP24   |B.5F                    |
<span class="linenum"> 5500</span>&nbsp;&nbsp;|6       DSW   |               |                        |
<span class="linenum"> 5501</span>&nbsp;&nbsp;|W             |DIP24  DIP24   |C.5H  2114              |
<span class="linenum"> 5502</span>&nbsp;&nbsp;|A     PR.8H   |               |                        |
<span class="linenum"> 5503</span>&nbsp;&nbsp;|Y             |DIP24  DIP24   |D.5J  2114              |
<span class="linenum"> 5504</span>&nbsp;&nbsp;|              |               |                        |
<span class="linenum"> 5505</span>&nbsp;&nbsp;|-|            |---------------|      2114  PR.3K  PR.1K|
<span class="linenum"> 5506</span>&nbsp;&nbsp;  |                                                     |
<span class="linenum"> 5507</span>&nbsp;&nbsp;|-|                                   2114              |
<span class="linenum"> 5508</span>&nbsp;&nbsp;|                                                       |
<span class="linenum"> 5509</span>&nbsp;&nbsp;|                                     2114              |
<span class="linenum"> 5510</span>&nbsp;&nbsp;|                                                       |
<span class="linenum"> 5511</span>&nbsp;&nbsp;|                                     2114              |
<span class="linenum"> 5512</span>&nbsp;&nbsp;|                                                       |
<span class="linenum"> 5513</span>&nbsp;&nbsp;|-------------------------------------------------------|
<span class="linenum"> 5514</span>&nbsp;&nbsp;Notes:
<span class="linenum"> 5515</span>&nbsp;&nbsp;      DIP24      - Empty sockets
<span class="linenum"> 5516</span>&nbsp;&nbsp;      DIP40      - Location where daughter board module connects to main board
<span class="linenum"> 5517</span>&nbsp;&nbsp;      DIP28      - Empty socket
<span class="linenum"> 5518</span>&nbsp;&nbsp;      2114/6148  - RAM
<span class="linenum"> 5519</span>&nbsp;&nbsp;      A/B/C/D    - 2716 2K x8 EPROMs (DIP24)
<span class="linenum"> 5520</span>&nbsp;&nbsp;      DSW        - 8-position Dip Switch
<span class="linenum"> 5521</span>&nbsp;&nbsp;      PR.4A/3K/1K- 82S129 Bipolar PROMs (DIP16)
<span class="linenum"> 5522</span>&nbsp;&nbsp;      PR.8H      - 82S123 Bipolar PROM (DIP16)
<span class="linenum"> 5523</span>&nbsp;&nbsp;
<span class="linenum"> 5524</span>&nbsp;&nbsp;
<span class="linenum"> 5525</span>&nbsp;&nbsp;Daughter Board PCB Layout
<span class="linenum"> 5526</span>&nbsp;&nbsp;-------------------------
<span class="linenum"> 5527</span>&nbsp;&nbsp;
<span class="linenum"> 5528</span>&nbsp;&nbsp;|---------------|
<span class="linenum"> 5529</span>&nbsp;&nbsp;|DIP40          |
<span class="linenum"> 5530</span>&nbsp;&nbsp;|               |
<span class="linenum"> 5531</span>&nbsp;&nbsp;|               |
<span class="linenum"> 5532</span>&nbsp;&nbsp;|  Z80   74LS244|
<span class="linenum"> 5533</span>&nbsp;&nbsp;|               |
<span class="linenum"> 5534</span>&nbsp;&nbsp;|74LS244 74LS244|
<span class="linenum"> 5535</span>&nbsp;&nbsp;|74LS04         |
<span class="linenum"> 5536</span>&nbsp;&nbsp;|74LS10         |
<span class="linenum"> 5537</span>&nbsp;&nbsp;|74LS138   ROM  |
<span class="linenum"> 5538</span>&nbsp;&nbsp;|               |
<span class="linenum"> 5539</span>&nbsp;&nbsp;|ROM       ROM  |
<span class="linenum"> 5540</span>&nbsp;&nbsp;|               |
<span class="linenum"> 5541</span>&nbsp;&nbsp;|ROM       ROM  |
<span class="linenum"> 5542</span>&nbsp;&nbsp;|---------------|
<span class="linenum"> 5543</span>&nbsp;&nbsp;Notes:
<span class="linenum"> 5544</span>&nbsp;&nbsp;      All IC's shown
<span class="linenum"> 5545</span>&nbsp;&nbsp;      Z80   - Sharp LH0080 Z80 CPU, running at 3.072MHz [18.432/6] (DIP40)
<span class="linenum"> 5546</span>&nbsp;&nbsp;      ROM   - 2732 4K x8 EPROMs (DIP24)
<span class="linenum"> 5547</span>&nbsp;&nbsp;      DIP40 - 40 pins extended from bottom of module for connection to main board
<span class="linenum"> 5548</span>&nbsp;&nbsp;*/</span>
<span class="linenum"> 5549</span>&nbsp;&nbsp;
<span class="linenum"> 5550</span>&nbsp;&nbsp;ROM_START( woodpeck )
<span class="linenum"> 5551</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 5552</span>&nbsp;&nbsp;    <span class="comment">/* roms dumped from epoxy block */</span>
<span class="linenum"> 5553</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"f.bin"</span>, 0x0000, 0x1000, CRC(37ea66ca) SHA1(1779e2af8ffc72ec454a401cf6fa93e77e28576a) )
<span class="linenum"> 5554</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"i.bin"</span>, 0x8000, 0x1000, CRC(cd115dba) SHA1(51dfa1966fa391654622cd4ffdd09007ec38ea02) )
<span class="linenum"> 5555</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"e.bin"</span>, 0x9000, 0x1000, CRC(d40b2321) SHA1(0418cb772e24b67fd1d04e06daed33e766c8bc3d) )
<span class="linenum"> 5556</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"g.bin"</span>, 0xa000, 0x1000, CRC(024092f4) SHA1(4b16a3ff101397af64fc89d9f93bbdb939c8e699) )
<span class="linenum"> 5557</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"h.bin"</span>, 0xb000, 0x1000, CRC(18ef0fc8) SHA1(4cf3854adbcdd4ca2d855c48acff39fce5be48f7) )
<span class="linenum"> 5558</span>&nbsp;&nbsp;
<span class="linenum"> 5559</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 5560</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"a.5e"</span>,  0x0000, 0x0800, CRC(15a87f62) SHA1(df6a6594ea8c6957e420b95e25ca33a9add13c09) )
<span class="linenum"> 5561</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"c.5h"</span>,  0x0800, 0x0800, CRC(ab4abd88) SHA1(04199a127556159878d719599d57a3548eb14a3c) )
<span class="linenum"> 5562</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"b.5f"</span>,  0x1000, 0x0800, CRC(5b9ba95b) SHA1(6d963da936c26830a614b69c663fc1e20b70f9dc) )
<span class="linenum"> 5563</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"d.5j"</span>,  0x1800, 0x0800, CRC(d7b80a45) SHA1(8f4ef319b960ae0e2cb30910b7efe6c0691df2bb) )
<span class="linenum"> 5564</span>&nbsp;&nbsp;
<span class="linenum"> 5565</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5566</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr.8h"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5567</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr.4a"</span>, 0x0020, 0x0100, CRC(d8772167) SHA1(782fa53f0de7262924a92d75f12a42bc4e44c812) )
<span class="linenum"> 5568</span>&nbsp;&nbsp;
<span class="linenum"> 5569</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5570</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr.1k"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5571</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr.3k"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   <span class="comment">/*timing - not used */</span>
<span class="linenum"> 5572</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5573</span>&nbsp;&nbsp;
<span class="linenum"> 5574</span>&nbsp;&nbsp;ROM_START( woodpeca )
<span class="linenum"> 5575</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>,0 )
<span class="linenum"> 5576</span>&nbsp;&nbsp;    <span class="comment">/* roms dumped from epoxy block */</span>
<span class="linenum"> 5577</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"0"</span>, 0x0000, 0x1000, CRC(b5ee8bca) SHA1(b9a07dafa1b5ac26e28fd6520506c22b12881bc4) )
<span class="linenum"> 5578</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"1"</span>, 0x8000, 0x1000, CRC(c5ec2de6) SHA1(4014c99761c184466f586848ed3685c0e4bc272c) )
<span class="linenum"> 5579</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2"</span>, 0x9000, 0x1000, CRC(07ea534e) SHA1(d93a9c35be21558b553ae8234b7d7e6e7e7e07f0) )
<span class="linenum"> 5580</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"3"</span>, 0xa000, 0x1000, CRC(a3a3253a) SHA1(e623bf11063570b7a8617a4590a6050cb73f61a2) )
<span class="linenum"> 5581</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4"</span>, 0xb000, 0x1000, CRC(6c50546b) SHA1(1ca1c70a1722172036b30f99d7f6bf005dca9b79) )
<span class="linenum"> 5582</span>&nbsp;&nbsp;
<span class="linenum"> 5583</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span> , 0)
<span class="linenum"> 5584</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"10.5f"</span>, 0x0000, 0x1000, CRC(0bf52102) SHA1(dfd8bb56e25b5599a7fdc9d7db8f9f5f2d7c4b03) )
<span class="linenum"> 5585</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11.5h"</span>, 0x1000, 0x1000, CRC(0ed8def8) SHA1(542a6615b45776104f3731a34a899850bb40b5e0) )
<span class="linenum"> 5586</span>&nbsp;&nbsp;
<span class="linenum"> 5587</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5588</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr.8h"</span>, 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5589</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr.4a"</span>, 0x0020, 0x0100, CRC(d8772167) SHA1(782fa53f0de7262924a92d75f12a42bc4e44c812) )
<span class="linenum"> 5590</span>&nbsp;&nbsp;
<span class="linenum"> 5591</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5592</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr.1k"</span>, 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5593</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pr.3k"</span>, 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   <span class="comment">/*timing - not used */</span>
<span class="linenum"> 5594</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5595</span>&nbsp;&nbsp;
<span class="linenum"> 5596</span>&nbsp;&nbsp;ROM_START( bigbucks )
<span class="linenum"> 5597</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5598</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"p.rom"</span>,        0x0000, 0x4000, CRC(eea6c1c9) SHA1(eaea4ffbcdfbb38364887830fd00ac87fe838006) )
<span class="linenum"> 5599</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"m.rom"</span>,        0x8000, 0x2000, CRC(bb8f7363) SHA1(11ebdb1a3c589515240d006646f2fb3ead06bdcf) )
<span class="linenum"> 5600</span>&nbsp;&nbsp;
<span class="linenum"> 5601</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5602</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e.cpu"</span>,       0x0000, 0x1000, CRC(18442c37) SHA1(fac445d15731532364315852492b48470039c0ca) )
<span class="linenum"> 5603</span>&nbsp;&nbsp;    ROM_RELOAD( 0x1000, 0x1000 ) <span class="comment">/* Not Used?? */</span>
<span class="linenum"> 5604</span>&nbsp;&nbsp;
<span class="linenum"> 5605</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5606</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s123.7f"</span>,    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
<span class="linenum"> 5607</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.4a"</span>,    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
<span class="linenum"> 5608</span>&nbsp;&nbsp;
<span class="linenum"> 5609</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5610</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5611</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5612</span>&nbsp;&nbsp;
<span class="linenum"> 5613</span>&nbsp;&nbsp;    ROM_REGION( 0x60000, <span class="string">"user1"</span>, 0 )   <span class="comment">/* Question ROMs */</span>
<span class="linenum"> 5614</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom1.rom"</span>,     0x00000, 0x8000, CRC(90b7785f) SHA1(7fc5aa2be868b87ffb9e957c204dabf1508e212e) )
<span class="linenum"> 5615</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom2.rom"</span>,     0x08000, 0x8000, CRC(60172d77) SHA1(92cb2312c6f3395f7ddb45e58695dd000d6ec756) )
<span class="linenum"> 5616</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom3.rom"</span>,     0x10000, 0x8000, CRC(a2207320) SHA1(18ad94b62e7e611ab8a1cbf2d2c6576b8840da2f) )
<span class="linenum"> 5617</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom4.rom"</span>,     0x18000, 0x8000, CRC(5a74c1f9) SHA1(0c55a27a492099ac98daefe0c199761ab1ccce82) )
<span class="linenum"> 5618</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom5.rom"</span>,     0x20000, 0x8000, CRC(93bc1080) SHA1(53e40b8bbc82b3be044f8a39b71fbb811e9263d8) )
<span class="linenum"> 5619</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom6.rom"</span>,     0x28000, 0x8000, CRC(eea2423f) SHA1(34de5495061be7d498773f9a723052c4f13d4a0c) )
<span class="linenum"> 5620</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom7.rom"</span>,     0x30000, 0x8000, CRC(96694055) SHA1(64ebbd85c2a60936f60345b5d573cd9eda196d3f) )
<span class="linenum"> 5621</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom8.rom"</span>,     0x38000, 0x8000, CRC(e68ebf8e) SHA1(cac17ac0231a0526e7f4a58bcb2cae3d05727ee6) )
<span class="linenum"> 5622</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom9.rom"</span>,     0x40000, 0x8000, CRC(fd20921d) SHA1(eedf93841b5ebe9afc4184e089d6694bbdb64445) )
<span class="linenum"> 5623</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom10.rom"</span>,    0x48000, 0x8000, CRC(5091b951) SHA1(224b65795d11599cdbd78e984ac2c71e8847041c) )
<span class="linenum"> 5624</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom11.rom"</span>,    0x50000, 0x8000, CRC(705128db) SHA1(92d45bfd09f61a1a3ac46c2e0ec1f634f04cf049) )
<span class="linenum"> 5625</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"rom12.rom"</span>,    0x58000, 0x8000, CRC(74c776e7) SHA1(03860d90461b01df4b734b784dddb20843ba811a) )
<span class="linenum"> 5626</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5627</span>&nbsp;&nbsp;
<span class="linenum"> 5628</span>&nbsp;&nbsp;
<span class="linenum"> 5629</span>&nbsp;&nbsp;ROM_START( drivfrcp )
<span class="linenum"> 5630</span>&nbsp;&nbsp;    ROM_REGION( 0x8000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5631</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"drivforc.1"</span>,   0x0000, 0x1000, CRC(10b59d27) SHA1(fa09f3b95319a3487fa54b72198f41211663e087) )
<span class="linenum"> 5632</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x2000, 0x1000 )
<span class="linenum"> 5633</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x4000, 0x1000 )
<span class="linenum"> 5634</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x6000, 0x1000 )
<span class="linenum"> 5635</span>&nbsp;&nbsp;
<span class="linenum"> 5636</span>&nbsp;&nbsp;    ROM_REGION( 0x8000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5637</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"drivforc.2"</span>,   0x0000, 0x1000, CRC(56331cb5) SHA1(520f2a18ebbdfb093c8e4d144749a3f5cbce19bf) )
<span class="linenum"> 5638</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x2000, 0x1000 )
<span class="linenum"> 5639</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x1000, 0x1000 )
<span class="linenum"> 5640</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x3000, 0x1000 )
<span class="linenum"> 5641</span>&nbsp;&nbsp;    ROM_RELOAD(               0x4000, 0x1000 )
<span class="linenum"> 5642</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x6000, 0x1000 )
<span class="linenum"> 5643</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x5000, 0x1000 )
<span class="linenum"> 5644</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x7000, 0x1000 )
<span class="linenum"> 5645</span>&nbsp;&nbsp;
<span class="linenum"> 5646</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5647</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"drivforc.pr1"</span>, 0x0000, 0x0020, CRC(045aa47f) SHA1(ea9034f441937df43a7c0bdb502165fb27d06635) )
<span class="linenum"> 5648</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"drivforc.pr2"</span>, 0x0020, 0x0100, CRC(9e6d2f1d) SHA1(7bcbcd4c0a40264c3b0667fc6a39ed4f2a86cafe) )
<span class="linenum"> 5649</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5650</span>&nbsp;&nbsp;
<span class="linenum"> 5651</span>&nbsp;&nbsp;
<span class="linenum"> 5652</span>&nbsp;&nbsp;ROM_START( 8bpm )
<span class="linenum"> 5653</span>&nbsp;&nbsp;    ROM_REGION( 0x8000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5654</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"8bpmp.bin"</span>,    0x0000, 0x1000, CRC(b4f7eba7) SHA1(9b15543895c70f5ee2b4f91b8af78a884453e4f1) )
<span class="linenum"> 5655</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x2000, 0x1000 )
<span class="linenum"> 5656</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x4000, 0x1000 )
<span class="linenum"> 5657</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x6000, 0x1000 )
<span class="linenum"> 5658</span>&nbsp;&nbsp;
<span class="linenum"> 5659</span>&nbsp;&nbsp;    ROM_REGION( 0x8000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5660</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"8bpmc.bin"</span>,    0x0000, 0x1000, CRC(1c894a6d) SHA1(04e5c548290095d1d0f873b6c2e639e6dbe8ff35) )
<span class="linenum"> 5661</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x2000, 0x1000 )
<span class="linenum"> 5662</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x1000, 0x1000 )
<span class="linenum"> 5663</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x3000, 0x1000 )
<span class="linenum"> 5664</span>&nbsp;&nbsp;    ROM_RELOAD(               0x4000, 0x1000 )
<span class="linenum"> 5665</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x6000, 0x1000 )
<span class="linenum"> 5666</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x5000, 0x1000 )
<span class="linenum"> 5667</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x7000, 0x1000 )
<span class="linenum"> 5668</span>&nbsp;&nbsp;
<span class="linenum"> 5669</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5670</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"8bpm.7f"</span>,      0x0000, 0x0020, CRC(4cf54241) SHA1(8d1db311941b8f821f949119d5ed2998a2fee80f) )
<span class="linenum"> 5671</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"8bpm.4a"</span>,      0x0020, 0x0100, CRC(618505a0) SHA1(6f7d4d54706b49d58427a60c2e2a48bd26d160d4) )
<span class="linenum"> 5672</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5673</span>&nbsp;&nbsp;
<span class="linenum"> 5674</span>&nbsp;&nbsp;
<span class="linenum"> 5675</span>&nbsp;&nbsp;ROM_START( porky )
<span class="linenum"> 5676</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5677</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pp"</span>,           0x0000, 0x1000, CRC(00592624) SHA1(41e554178a89b95bed1f570fab28e2a04f7a68d6) )
<span class="linenum"> 5678</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x2000, 0x1000 )
<span class="linenum"> 5679</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x4000, 0x1000 )
<span class="linenum"> 5680</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x6000, 0x1000 )
<span class="linenum"> 5681</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"ps"</span>,           0x8000, 0x1000, CRC(2efb9861) SHA1(8c5a23ed15bd985af78a54d2121fe058e53703bb) )
<span class="linenum"> 5682</span>&nbsp;&nbsp;    ROM_CONTINUE(             0xa000, 0x1000 )
<span class="linenum"> 5683</span>&nbsp;&nbsp;    ROM_CONTINUE(             0xc000, 0x1000 )
<span class="linenum"> 5684</span>&nbsp;&nbsp;    ROM_CONTINUE(             0xe000, 0x1000 )
<span class="linenum"> 5685</span>&nbsp;&nbsp;
<span class="linenum"> 5686</span>&nbsp;&nbsp;    ROM_REGION( 0x8000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5687</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"pc"</span>,           0x0000, 0x1000, CRC(a20e3d39) SHA1(3762289a495d597d6b9540ea7fa663128a9d543c) )
<span class="linenum"> 5688</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x2000, 0x1000 )
<span class="linenum"> 5689</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x1000, 0x1000 )
<span class="linenum"> 5690</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x3000, 0x1000 )
<span class="linenum"> 5691</span>&nbsp;&nbsp;    ROM_RELOAD(               0x4000, 0x1000 )
<span class="linenum"> 5692</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x6000, 0x1000 )
<span class="linenum"> 5693</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x5000, 0x1000 )
<span class="linenum"> 5694</span>&nbsp;&nbsp;    ROM_CONTINUE(             0x7000, 0x1000 )
<span class="linenum"> 5695</span>&nbsp;&nbsp;
<span class="linenum"> 5696</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5697</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7f"</span>,           0x0000, 0x0020, CRC(98bce7cc) SHA1(e461862ccaf7526421631ac6ebb9b09cd0bc9909) )
<span class="linenum"> 5698</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4a"</span>,           0x0020, 0x0100, CRC(30fe0266) SHA1(5081a19ceaeb937ee1378f3374e9d5949d17c3e8) )
<span class="linenum"> 5699</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5700</span>&nbsp;&nbsp;
<span class="linenum"> 5701</span>&nbsp;&nbsp;
<span class="linenum"> 5702</span>&nbsp;&nbsp;ROM_START( rocktrv2 )
<span class="linenum"> 5703</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5704</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"1.aux"</span>,        0x0000, 0x4000, CRC(d182947b) SHA1(b778658386b2ed7c9f518cf20d7805ea62ae727b) )
<span class="linenum"> 5705</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"2.aux"</span>,        0x6000, 0x2000, CRC(27a7461d) SHA1(0cbd4a03dcff352fbd6b9a9009dc908e34553ee2) )
<span class="linenum"> 5706</span>&nbsp;&nbsp;
<span class="linenum"> 5707</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5708</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5e.cpu"</span>,       0x0000, 0x1000, CRC(0a6cc43b) SHA1(a773bf3dda326797d63ceb908ad4d48f516bcea0) )
<span class="linenum"> 5709</span>&nbsp;&nbsp;    ROM_RELOAD( 0x1000, 0x1000 ) <span class="comment">/* Not Used?? */</span>
<span class="linenum"> 5710</span>&nbsp;&nbsp;
<span class="linenum"> 5711</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 )
<span class="linenum"> 5712</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7f.cpu"</span>,       0x0000, 0x0020, CRC(7549a947) SHA1(4f2c3e7d6c38f0b9a90317f91feb3f86c9a0d0a5) )
<span class="linenum"> 5713</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4a.cpu"</span>,       0x0020, 0x0100, CRC(ddd5d88e) SHA1(f28e1d90bb495001c30c63b0ef2eec45de568174) )
<span class="linenum"> 5714</span>&nbsp;&nbsp;
<span class="linenum"> 5715</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5716</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5717</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5718</span>&nbsp;&nbsp;
<span class="linenum"> 5719</span>&nbsp;&nbsp;    ROM_REGION( 0x40000, <span class="string">"user1"</span>, 0 )   <span class="comment">/* Question ROMs */</span>
<span class="linenum"> 5720</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"3.aux"</span>,        0x00000, 0x4000, CRC(5b117ca6) SHA1(08d625312a751b99e132b90dcf8274d0ff2aecf2) )
<span class="linenum"> 5721</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"4.aux"</span>,        0x04000, 0x4000, CRC(81bfd4c3) SHA1(300cb4a38d3a1234bfc793f0574527033697f5a2) )
<span class="linenum"> 5722</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"5.aux"</span>,        0x08000, 0x4000, CRC(e976423c) SHA1(53a7f100943313014285ce09c03bd3eabd1388b0) )
<span class="linenum"> 5723</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"6.aux"</span>,        0x0c000, 0x4000, CRC(425946bf) SHA1(c8b0ba85bbba2f2c33f4ba069bf2fbb9692281d8) )
<span class="linenum"> 5724</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"7.aux"</span>,        0x10000, 0x4000, CRC(7056fc8f) SHA1(99c18ba4cd4d45531066069d2fd5018177072d5b) )
<span class="linenum"> 5725</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"8.aux"</span>,        0x14000, 0x4000, CRC(8b86464f) SHA1(7827df4c763fe078d3844eafab728e9400275049) )
<span class="linenum"> 5726</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"9.aux"</span>,        0x18000, 0x4000, CRC(17d8eba4) SHA1(806593824868e266c776e2e49cebb60dd6f8302e) )
<span class="linenum"> 5727</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"10.aux"</span>,       0x1c000, 0x4000, CRC(398c8eb4) SHA1(2cbbb11e255b84a54621f5fccfa8354bf925f1df) )
<span class="linenum"> 5728</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"11.aux"</span>,       0x20000, 0x4000, CRC(7f376424) SHA1(72ba5b01053c0c568562ba7a1257252c47736a3c) )
<span class="linenum"> 5729</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"12.aux"</span>,       0x24000, 0x4000, BAD_DUMP CRC(8d5bbf81) SHA1(0ebc9afbe6df6d60cf8797e246dda45694dca89e) )
<span class="linenum"> 5730</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"13.aux"</span>,       0x28000, 0x4000, CRC(99fe2c21) SHA1(9ff29cb2b74a16f5249677172b9d96e11241032e) )
<span class="linenum"> 5731</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"14.aux"</span>,       0x2c000, 0x4000, CRC(df4cf5e7) SHA1(1228a31b9053ade416a33f699f3f5513d1e47b24) )
<span class="linenum"> 5732</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"15.aux"</span>,       0x30000, 0x4000, CRC(2a32de26) SHA1(5892d4aea590d109339a66d15ebedaa04629fa7e) )
<span class="linenum"> 5733</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"16.aux"</span>,       0x34000, 0x4000, CRC(fcd42187) SHA1(e99e1f281eff2f6f42440f30bcb7a5efe34590fd) )
<span class="linenum"> 5734</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"17.aux"</span>,       0x38000, 0x4000, CRC(24d5c388) SHA1(f7039d84b3cbf00884e87ea7221f1b608a7d879e) )
<span class="linenum"> 5735</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"18.aux"</span>,       0x3c000, 0x4000, CRC(feb195fd) SHA1(5677d31e526cc7752254e9af0d694f05bc6bc907) )
<span class="linenum"> 5736</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5737</span>&nbsp;&nbsp;
<span class="linenum"> 5738</span>&nbsp;&nbsp;<span class="comment">/* Special thanks to Rob Walmsley for dumping his PCB */</span>
<span class="linenum"> 5739</span>&nbsp;&nbsp;ROM_START( cannonbp )
<span class="linenum"> 5740</span>&nbsp;&nbsp;    ROM_REGION( 0x10000, <span class="string">"maincpu"</span>, 0 )
<span class="linenum"> 5741</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n1-6e"</span>,        0x0000, 0x0800, CRC(c68878c7) SHA1(4ab69f820e861a33fa7555286459e5953c126d33) )
<span class="linenum"> 5742</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n2-6k"</span>,        0x0800, 0x0800, CRC(ff3951a5) SHA1(8c06526903f2ce3e0ac29ba0138e8c270732150a) )
<span class="linenum"> 5743</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n3-6f"</span>,        0x1000, 0x0800, CRC(2329079d) SHA1(461d1258a03ea35ba33f4094c05f8ffda8cdfc47) )
<span class="linenum"> 5744</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n4-6m"</span>,        0x1800, 0x0800, CRC(fcc57ecb) SHA1(9efafbb7f3d44652aded860e734332f47354e299) )
<span class="linenum"> 5745</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n5-6h"</span>,        0x2000, 0x0800, CRC(52846c9d) SHA1(4a479ff8961c8865aea12976355d0201a8cb1b48) )
<span class="linenum"> 5746</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"n6-6n"</span>,        0x2800, 0x0800, CRC(59e890dd) SHA1(c148b71d71fb49a138ef1afe771be70bec21ad2b) )
<span class="linenum"> 5747</span>&nbsp;&nbsp;    <span class="comment">/* 3000 - 3fff = epoxy protection block */</span>
<span class="linenum"> 5748</span>&nbsp;&nbsp;
<span class="linenum"> 5749</span>&nbsp;&nbsp;    ROM_REGION( 0x2000, <span class="string">"gfx1"</span>, 0 )
<span class="linenum"> 5750</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"z1-5e"</span>,        0x0000, 0x0800, CRC(125779e0) SHA1(c1ae7214e3ff1a941ae0c4948ec886bc84b6f040) )
<span class="linenum"> 5751</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"z3-5h"</span>,        0x0800, 0x0800, CRC(78f866c0) SHA1(171f0b5ed6c8b1f2ae8dc1b7e97ea9f0c3d8e18e) )
<span class="linenum"> 5752</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"z2-5f"</span>,        0x1000, 0x0800, CRC(fbd2c99d) SHA1(135a5d86d59010cc608b099054815dd31d443da7) )
<span class="linenum"> 5753</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"z4-5j"</span>,        0x1800, 0x0800, CRC(8734c904) SHA1(86d9dc72d3cfc863c558967860ac4d2dc8d2c07c) )
<span class="linenum"> 5754</span>&nbsp;&nbsp;
<span class="linenum"> 5755</span>&nbsp;&nbsp;    ROM_REGION( 0x0120, <span class="string">"proms"</span>, 0 ) <span class="comment">/* these give some ugly colours, but should be correct */</span>
<span class="linenum"> 5756</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"colorprom_1"</span>,    0x0000, 0x0020, CRC(08f8ae7e) SHA1(cd1e26da5f214f4d9924a30e6d9cf312f91c2028) )
<span class="linenum"> 5757</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"colorprom_2"</span>,    0x0020, 0x0100, CRC(359a15dc) SHA1(e57ef15eb3baac70fe9e2db897c4165da3c00e20) )
<span class="linenum"> 5758</span>&nbsp;&nbsp;
<span class="linenum"> 5759</span>&nbsp;&nbsp;    ROM_REGION( 0x0200, <span class="string">"namco"</span>, 0 )    <span class="comment">/* sound PROMs */</span>
<span class="linenum"> 5760</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.1m"</span>,    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
<span class="linenum"> 5761</span>&nbsp;&nbsp;    ROM_LOAD( <span class="string">"82s126.3m"</span>,    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )    <span class="comment">/* timing - not used */</span>
<span class="linenum"> 5762</span>&nbsp;&nbsp;ROM_END
<span class="linenum"> 5763</span>&nbsp;&nbsp;
<span class="linenum"> 5764</span>&nbsp;&nbsp;
<span class="linenum"> 5765</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum"> 5766</span>&nbsp;&nbsp; *
<span class="linenum"> 5767</span>&nbsp;&nbsp; *  Driver initialization
<span class="linenum"> 5768</span>&nbsp;&nbsp; *
<span class="linenum"> 5769</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum"> 5770</span>&nbsp;&nbsp;
<span class="linenum"> 5771</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">void</span> maketrax_rom_decode(running_machine &amp;machine)
<span class="linenum"> 5772</span>&nbsp;&nbsp;{
<span class="linenum"> 5773</span>&nbsp;&nbsp;    pacman_state *state = machine.driver_data&lt;pacman_state&gt;();
<span class="linenum"> 5774</span>&nbsp;&nbsp;    address_space &amp;space = state-&gt;m_maincpu-&gt;space(AS_PROGRAM);
<span class="linenum"> 5775</span>&nbsp;&nbsp;    UINT8 *decrypted = auto_alloc_array(machine, UINT8, 0x4000);
<span class="linenum"> 5776</span>&nbsp;&nbsp;    UINT8 *rom = machine.root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 5777</span>&nbsp;&nbsp;
<span class="linenum"> 5778</span>&nbsp;&nbsp;    <span class="comment">/* patch protection using a copy of the opcodes so ROM checksum */</span>
<span class="linenum"> 5779</span>&nbsp;&nbsp;    <span class="comment">/* tests will not fail */</span>
<span class="linenum"> 5780</span>&nbsp;&nbsp;    space.set_decrypted_region(0x0000, 0x3fff, decrypted);
<span class="linenum"> 5781</span>&nbsp;&nbsp;
<span class="linenum"> 5782</span>&nbsp;&nbsp;    memcpy(decrypted,rom,0x4000);
<span class="linenum"> 5783</span>&nbsp;&nbsp;
<span class="linenum"> 5784</span>&nbsp;&nbsp;    decrypted[0x0415] = 0xc9;
<span class="linenum"> 5785</span>&nbsp;&nbsp;    decrypted[0x1978] = 0x18;
<span class="linenum"> 5786</span>&nbsp;&nbsp;    decrypted[0x238e] = 0xc9;
<span class="linenum"> 5787</span>&nbsp;&nbsp;    decrypted[0x3ae5] = 0xe6;
<span class="linenum"> 5788</span>&nbsp;&nbsp;    decrypted[0x3ae7] = 0x00;
<span class="linenum"> 5789</span>&nbsp;&nbsp;    decrypted[0x3ae8] = 0xc9;
<span class="linenum"> 5790</span>&nbsp;&nbsp;    decrypted[0x3aed] = 0x86;
<span class="linenum"> 5791</span>&nbsp;&nbsp;    decrypted[0x3aee] = 0xc0;
<span class="linenum"> 5792</span>&nbsp;&nbsp;    decrypted[0x3aef] = 0xb0;
<span class="linenum"> 5793</span>&nbsp;&nbsp;}
<span class="linenum"> 5794</span>&nbsp;&nbsp;
<span class="linenum"> 5795</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,maketrax)
<span class="linenum"> 5796</span>&nbsp;&nbsp;{
<span class="linenum"> 5797</span>&nbsp;&nbsp;    <span class="comment">/* set up protection handlers */</span>
<span class="linenum"> 5798</span>&nbsp;&nbsp;    m_maincpu-&gt;space(AS_PROGRAM).install_read_handler(0x5080, 0x50bf, read8_delegate(FUNC(pacman_state::maketrax_special_port2_r),<span class="keyword">this</span>));
<span class="linenum"> 5799</span>&nbsp;&nbsp;    m_maincpu-&gt;space(AS_PROGRAM).install_read_handler(0x50c0, 0x50ff, read8_delegate(FUNC(pacman_state::maketrax_special_port3_r),<span class="keyword">this</span>));
<span class="linenum"> 5800</span>&nbsp;&nbsp;
<span class="linenum"> 5801</span>&nbsp;&nbsp;    maketrax_rom_decode(machine());
<span class="linenum"> 5802</span>&nbsp;&nbsp;}
<span class="linenum"> 5803</span>&nbsp;&nbsp;
<span class="linenum"> 5804</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">void</span> korosuke_rom_decode(running_machine &amp;machine)
<span class="linenum"> 5805</span>&nbsp;&nbsp;{
<span class="linenum"> 5806</span>&nbsp;&nbsp;    pacman_state *state = machine.driver_data&lt;pacman_state&gt;();
<span class="linenum"> 5807</span>&nbsp;&nbsp;    address_space &amp;space = state-&gt;m_maincpu-&gt;space(AS_PROGRAM);
<span class="linenum"> 5808</span>&nbsp;&nbsp;    UINT8 *decrypted = auto_alloc_array(machine, UINT8, 0x4000);
<span class="linenum"> 5809</span>&nbsp;&nbsp;    UINT8 *rom = machine.root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 5810</span>&nbsp;&nbsp;
<span class="linenum"> 5811</span>&nbsp;&nbsp;    <span class="comment">/* patch protection using a copy of the opcodes so ROM checksum */</span>
<span class="linenum"> 5812</span>&nbsp;&nbsp;    <span class="comment">/* tests will not fail */</span>
<span class="linenum"> 5813</span>&nbsp;&nbsp;    space.set_decrypted_region(0x0000, 0x3fff, decrypted);
<span class="linenum"> 5814</span>&nbsp;&nbsp;
<span class="linenum"> 5815</span>&nbsp;&nbsp;    memcpy(decrypted,rom,0x4000);
<span class="linenum"> 5816</span>&nbsp;&nbsp;
<span class="linenum"> 5817</span>&nbsp;&nbsp;    decrypted[0x044c] = 0xc9;
<span class="linenum"> 5818</span>&nbsp;&nbsp;    decrypted[0x1973] = 0x18;
<span class="linenum"> 5819</span>&nbsp;&nbsp;    decrypted[0x238c] = 0xc9;
<span class="linenum"> 5820</span>&nbsp;&nbsp;    decrypted[0x3ae9] = 0xe6;   <span class="comment">/* not changed */</span>
<span class="linenum"> 5821</span>&nbsp;&nbsp;    decrypted[0x3aeb] = 0x00;
<span class="linenum"> 5822</span>&nbsp;&nbsp;    decrypted[0x3aec] = 0xc9;
<span class="linenum"> 5823</span>&nbsp;&nbsp;    decrypted[0x3af1] = 0x86;
<span class="linenum"> 5824</span>&nbsp;&nbsp;    decrypted[0x3af2] = 0xc0;
<span class="linenum"> 5825</span>&nbsp;&nbsp;    decrypted[0x3af3] = 0xb0;
<span class="linenum"> 5826</span>&nbsp;&nbsp;}
<span class="linenum"> 5827</span>&nbsp;&nbsp;
<span class="linenum"> 5828</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,korosuke)
<span class="linenum"> 5829</span>&nbsp;&nbsp;{
<span class="linenum"> 5830</span>&nbsp;&nbsp;    <span class="comment">/* set up protection handlers */</span>
<span class="linenum"> 5831</span>&nbsp;&nbsp;    m_maincpu-&gt;space(AS_PROGRAM).install_read_handler(0x5080, 0x5080, read8_delegate(FUNC(pacman_state::korosuke_special_port2_r),<span class="keyword">this</span>));
<span class="linenum"> 5832</span>&nbsp;&nbsp;    m_maincpu-&gt;space(AS_PROGRAM).install_read_handler(0x50c0, 0x50ff, read8_delegate(FUNC(pacman_state::korosuke_special_port3_r),<span class="keyword">this</span>));
<span class="linenum"> 5833</span>&nbsp;&nbsp;
<span class="linenum"> 5834</span>&nbsp;&nbsp;    korosuke_rom_decode(machine());
<span class="linenum"> 5835</span>&nbsp;&nbsp;}
<span class="linenum"> 5836</span>&nbsp;&nbsp;
<span class="linenum"> 5837</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,ponpoko)
<span class="linenum"> 5838</span>&nbsp;&nbsp;{
<span class="linenum"> 5839</span>&nbsp;&nbsp;    <span class="comment">/* The gfx data is swapped wrt the other Pac-Man hardware games. */</span>
<span class="linenum"> 5840</span>&nbsp;&nbsp;    <span class="comment">/* Here we revert it to the usual format. */</span>
<span class="linenum"> 5841</span>&nbsp;&nbsp;
<span class="linenum"> 5842</span>&nbsp;&nbsp;    <span class="keyword">int</span> i, j;
<span class="linenum"> 5843</span>&nbsp;&nbsp;    UINT8 *RAM, temp;
<span class="linenum"> 5844</span>&nbsp;&nbsp;    <span class="keyword">int</span> length = machine().root_device().memregion(<span class="string">"gfx1"</span>)-&gt;bytes()/2;
<span class="linenum"> 5845</span>&nbsp;&nbsp;
<span class="linenum"> 5846</span>&nbsp;&nbsp;    <span class="comment">/* Characters */</span>
<span class="linenum"> 5847</span>&nbsp;&nbsp;    RAM = machine().root_device().memregion(<span class="string">"gfx1"</span>)-&gt;base();
<span class="linenum"> 5848</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0;i &lt; length;i += 0x10)
<span class="linenum"> 5849</span>&nbsp;&nbsp;    {
<span class="linenum"> 5850</span>&nbsp;&nbsp;        <span class="keyword">for</span> (j = 0; j &lt; 8; j++)
<span class="linenum"> 5851</span>&nbsp;&nbsp;        {
<span class="linenum"> 5852</span>&nbsp;&nbsp;            temp          = RAM[i+j+0x08];
<span class="linenum"> 5853</span>&nbsp;&nbsp;            RAM[i+j+0x08] = RAM[i+j+0x00];
<span class="linenum"> 5854</span>&nbsp;&nbsp;            RAM[i+j+0x00] = temp;
<span class="linenum"> 5855</span>&nbsp;&nbsp;        }
<span class="linenum"> 5856</span>&nbsp;&nbsp;    }
<span class="linenum"> 5857</span>&nbsp;&nbsp;
<span class="linenum"> 5858</span>&nbsp;&nbsp;    <span class="comment">/* Sprites */</span>
<span class="linenum"> 5859</span>&nbsp;&nbsp;    RAM = machine().root_device().memregion(<span class="string">"gfx1"</span>)-&gt;base()+length;
<span class="linenum"> 5860</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0;i &lt; length;i += 0x20)
<span class="linenum"> 5861</span>&nbsp;&nbsp;    {
<span class="linenum"> 5862</span>&nbsp;&nbsp;        <span class="keyword">for</span> (j = 0; j &lt; 8; j++)
<span class="linenum"> 5863</span>&nbsp;&nbsp;        {
<span class="linenum"> 5864</span>&nbsp;&nbsp;            temp          = RAM[i+j+0x18];
<span class="linenum"> 5865</span>&nbsp;&nbsp;            RAM[i+j+0x18] = RAM[i+j+0x10];
<span class="linenum"> 5866</span>&nbsp;&nbsp;            RAM[i+j+0x10] = RAM[i+j+0x08];
<span class="linenum"> 5867</span>&nbsp;&nbsp;            RAM[i+j+0x08] = RAM[i+j+0x00];
<span class="linenum"> 5868</span>&nbsp;&nbsp;            RAM[i+j+0x00] = temp;
<span class="linenum"> 5869</span>&nbsp;&nbsp;        }
<span class="linenum"> 5870</span>&nbsp;&nbsp;    }
<span class="linenum"> 5871</span>&nbsp;&nbsp;}
<span class="linenum"> 5872</span>&nbsp;&nbsp;
<span class="linenum"> 5873</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">void</span> eyes_decode(UINT8 *data)
<span class="linenum"> 5874</span>&nbsp;&nbsp;{
<span class="linenum"> 5875</span>&nbsp;&nbsp;    <span class="keyword">int</span> j;
<span class="linenum"> 5876</span>&nbsp;&nbsp;    UINT8 swapbuffer[8];
<span class="linenum"> 5877</span>&nbsp;&nbsp;
<span class="linenum"> 5878</span>&nbsp;&nbsp;    <span class="keyword">for</span> (j = 0; j &lt; 8; j++)
<span class="linenum"> 5879</span>&nbsp;&nbsp;    {
<span class="linenum"> 5880</span>&nbsp;&nbsp;        swapbuffer[j] = data[BITSWAP16(j,15,14,13,12,11,10,9,8,7,6,5,4,3,0,1,2)];
<span class="linenum"> 5881</span>&nbsp;&nbsp;    }
<span class="linenum"> 5882</span>&nbsp;&nbsp;
<span class="linenum"> 5883</span>&nbsp;&nbsp;    <span class="keyword">for</span> (j = 0; j &lt; 8; j++)
<span class="linenum"> 5884</span>&nbsp;&nbsp;    {
<span class="linenum"> 5885</span>&nbsp;&nbsp;        data[j] = BITSWAP8(swapbuffer[j],7,4,5,6,3,2,1,0);
<span class="linenum"> 5886</span>&nbsp;&nbsp;    }
<span class="linenum"> 5887</span>&nbsp;&nbsp;}
<span class="linenum"> 5888</span>&nbsp;&nbsp;
<span class="linenum"> 5889</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,eyes)
<span class="linenum"> 5890</span>&nbsp;&nbsp;{
<span class="linenum"> 5891</span>&nbsp;&nbsp;    <span class="keyword">int</span> i, len;
<span class="linenum"> 5892</span>&nbsp;&nbsp;    UINT8 *RAM;
<span class="linenum"> 5893</span>&nbsp;&nbsp;
<span class="linenum"> 5894</span>&nbsp;&nbsp;    <span class="comment">/* CPU ROMs */</span>
<span class="linenum"> 5895</span>&nbsp;&nbsp;
<span class="linenum"> 5896</span>&nbsp;&nbsp;    <span class="comment">/* Data lines D3 and D5 swapped */</span>
<span class="linenum"> 5897</span>&nbsp;&nbsp;    RAM = machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 5898</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0; i &lt; 0x4000; i++)
<span class="linenum"> 5899</span>&nbsp;&nbsp;    {
<span class="linenum"> 5900</span>&nbsp;&nbsp;        RAM[i] = BITSWAP8(RAM[i],7,6,3,4,5,2,1,0);
<span class="linenum"> 5901</span>&nbsp;&nbsp;    }
<span class="linenum"> 5902</span>&nbsp;&nbsp;
<span class="linenum"> 5903</span>&nbsp;&nbsp;
<span class="linenum"> 5904</span>&nbsp;&nbsp;    <span class="comment">/* Graphics ROMs */</span>
<span class="linenum"> 5905</span>&nbsp;&nbsp;
<span class="linenum"> 5906</span>&nbsp;&nbsp;    <span class="comment">/* Data lines D4 and D6 and address lines A0 and A2 are swapped */</span>
<span class="linenum"> 5907</span>&nbsp;&nbsp;    RAM = machine().root_device().memregion(<span class="string">"gfx1"</span>)-&gt;base();
<span class="linenum"> 5908</span>&nbsp;&nbsp;    len = machine().root_device().memregion(<span class="string">"gfx1"</span>)-&gt;bytes();
<span class="linenum"> 5909</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0;i &lt; len;i += 8)
<span class="linenum"> 5910</span>&nbsp;&nbsp;        eyes_decode(&amp;RAM[i]);
<span class="linenum"> 5911</span>&nbsp;&nbsp;}
<span class="linenum"> 5912</span>&nbsp;&nbsp;
<span class="linenum"> 5913</span>&nbsp;&nbsp;
<span class="linenum"> 5914</span>&nbsp;&nbsp;<span class="preproc">#define</span> BITSWAP12(val,B11,B10,B9,B8,B7,B6,B5,B4,B3,B2,B1,B0) \
<span class="linenum"> 5915</span>&nbsp;&nbsp;    BITSWAP16(val,15,14,13,12,B11,B10,B9,B8,B7,B6,B5,B4,B3,B2,B1,B0)
<span class="linenum"> 5916</span>&nbsp;&nbsp;
<span class="linenum"> 5917</span>&nbsp;&nbsp;<span class="preproc">#define</span> BITSWAP11(val,B10,B9,B8,B7,B6,B5,B4,B3,B2,B1,B0) \
<span class="linenum"> 5918</span>&nbsp;&nbsp;    BITSWAP16(val,15,14,13,12,11,B10,B9,B8,B7,B6,B5,B4,B3,B2,B1,B0)
<span class="linenum"> 5919</span>&nbsp;&nbsp;
<span class="linenum"> 5920</span>&nbsp;&nbsp;<span class="keyword">static</span> <span class="keyword">void</span> mspacman_install_patches(UINT8 *ROM)
<span class="linenum"> 5921</span>&nbsp;&nbsp;{
<span class="linenum"> 5922</span>&nbsp;&nbsp;    <span class="keyword">int</span> i;
<span class="linenum"> 5923</span>&nbsp;&nbsp;
<span class="linenum"> 5924</span>&nbsp;&nbsp;    <span class="comment">/* copy forty 8-byte patches into Pac-Man code */</span>
<span class="linenum"> 5925</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0; i &lt; 8; i++)
<span class="linenum"> 5926</span>&nbsp;&nbsp;    {
<span class="linenum"> 5927</span>&nbsp;&nbsp;        ROM[0x0410+i] = ROM[0x8008+i];
<span class="linenum"> 5928</span>&nbsp;&nbsp;        ROM[0x08E0+i] = ROM[0x81D8+i];
<span class="linenum"> 5929</span>&nbsp;&nbsp;        ROM[0x0A30+i] = ROM[0x8118+i];
<span class="linenum"> 5930</span>&nbsp;&nbsp;        ROM[0x0BD0+i] = ROM[0x80D8+i];
<span class="linenum"> 5931</span>&nbsp;&nbsp;        ROM[0x0C20+i] = ROM[0x8120+i];
<span class="linenum"> 5932</span>&nbsp;&nbsp;        ROM[0x0E58+i] = ROM[0x8168+i];
<span class="linenum"> 5933</span>&nbsp;&nbsp;        ROM[0x0EA8+i] = ROM[0x8198+i];
<span class="linenum"> 5934</span>&nbsp;&nbsp;
<span class="linenum"> 5935</span>&nbsp;&nbsp;        ROM[0x1000+i] = ROM[0x8020+i];
<span class="linenum"> 5936</span>&nbsp;&nbsp;        ROM[0x1008+i] = ROM[0x8010+i];
<span class="linenum"> 5937</span>&nbsp;&nbsp;        ROM[0x1288+i] = ROM[0x8098+i];
<span class="linenum"> 5938</span>&nbsp;&nbsp;        ROM[0x1348+i] = ROM[0x8048+i];
<span class="linenum"> 5939</span>&nbsp;&nbsp;        ROM[0x1688+i] = ROM[0x8088+i];
<span class="linenum"> 5940</span>&nbsp;&nbsp;        ROM[0x16B0+i] = ROM[0x8188+i];
<span class="linenum"> 5941</span>&nbsp;&nbsp;        ROM[0x16D8+i] = ROM[0x80C8+i];
<span class="linenum"> 5942</span>&nbsp;&nbsp;        ROM[0x16F8+i] = ROM[0x81C8+i];
<span class="linenum"> 5943</span>&nbsp;&nbsp;        ROM[0x19A8+i] = ROM[0x80A8+i];
<span class="linenum"> 5944</span>&nbsp;&nbsp;        ROM[0x19B8+i] = ROM[0x81A8+i];
<span class="linenum"> 5945</span>&nbsp;&nbsp;
<span class="linenum"> 5946</span>&nbsp;&nbsp;        ROM[0x2060+i] = ROM[0x8148+i];
<span class="linenum"> 5947</span>&nbsp;&nbsp;        ROM[0x2108+i] = ROM[0x8018+i];
<span class="linenum"> 5948</span>&nbsp;&nbsp;        ROM[0x21A0+i] = ROM[0x81A0+i];
<span class="linenum"> 5949</span>&nbsp;&nbsp;        ROM[0x2298+i] = ROM[0x80A0+i];
<span class="linenum"> 5950</span>&nbsp;&nbsp;        ROM[0x23E0+i] = ROM[0x80E8+i];
<span class="linenum"> 5951</span>&nbsp;&nbsp;        ROM[0x2418+i] = ROM[0x8000+i];
<span class="linenum"> 5952</span>&nbsp;&nbsp;        ROM[0x2448+i] = ROM[0x8058+i];
<span class="linenum"> 5953</span>&nbsp;&nbsp;        ROM[0x2470+i] = ROM[0x8140+i];
<span class="linenum"> 5954</span>&nbsp;&nbsp;        ROM[0x2488+i] = ROM[0x8080+i];
<span class="linenum"> 5955</span>&nbsp;&nbsp;        ROM[0x24B0+i] = ROM[0x8180+i];
<span class="linenum"> 5956</span>&nbsp;&nbsp;        ROM[0x24D8+i] = ROM[0x80C0+i];
<span class="linenum"> 5957</span>&nbsp;&nbsp;        ROM[0x24F8+i] = ROM[0x81C0+i];
<span class="linenum"> 5958</span>&nbsp;&nbsp;        ROM[0x2748+i] = ROM[0x8050+i];
<span class="linenum"> 5959</span>&nbsp;&nbsp;        ROM[0x2780+i] = ROM[0x8090+i];
<span class="linenum"> 5960</span>&nbsp;&nbsp;        ROM[0x27B8+i] = ROM[0x8190+i];
<span class="linenum"> 5961</span>&nbsp;&nbsp;        ROM[0x2800+i] = ROM[0x8028+i];
<span class="linenum"> 5962</span>&nbsp;&nbsp;        ROM[0x2B20+i] = ROM[0x8100+i];
<span class="linenum"> 5963</span>&nbsp;&nbsp;        ROM[0x2B30+i] = ROM[0x8110+i];
<span class="linenum"> 5964</span>&nbsp;&nbsp;        ROM[0x2BF0+i] = ROM[0x81D0+i];
<span class="linenum"> 5965</span>&nbsp;&nbsp;        ROM[0x2CC0+i] = ROM[0x80D0+i];
<span class="linenum"> 5966</span>&nbsp;&nbsp;        ROM[0x2CD8+i] = ROM[0x80E0+i];
<span class="linenum"> 5967</span>&nbsp;&nbsp;        ROM[0x2CF0+i] = ROM[0x81E0+i];
<span class="linenum"> 5968</span>&nbsp;&nbsp;        ROM[0x2D60+i] = ROM[0x8160+i];
<span class="linenum"> 5969</span>&nbsp;&nbsp;    }
<span class="linenum"> 5970</span>&nbsp;&nbsp;}
<span class="linenum"> 5971</span>&nbsp;&nbsp;
<span class="linenum"> 5972</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,mspacman)
<span class="linenum"> 5973</span>&nbsp;&nbsp;{
<span class="linenum"> 5974</span>&nbsp;&nbsp;    <span class="keyword">int</span> i;
<span class="linenum"> 5975</span>&nbsp;&nbsp;    UINT8 *ROM, *DROM;
<span class="linenum"> 5976</span>&nbsp;&nbsp;
<span class="linenum"> 5977</span>&nbsp;&nbsp;    <span class="comment">/* CPU ROMs */</span>
<span class="linenum"> 5978</span>&nbsp;&nbsp;
<span class="linenum"> 5979</span>&nbsp;&nbsp;    <span class="comment">/* Pac-Man code is in low bank */</span>
<span class="linenum"> 5980</span>&nbsp;&nbsp;    ROM = machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 5981</span>&nbsp;&nbsp;
<span class="linenum"> 5982</span>&nbsp;&nbsp;    <span class="comment">/* decrypted Ms. Pac-Man code is in high bank */</span>
<span class="linenum"> 5983</span>&nbsp;&nbsp;    DROM = &amp;machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base()[0x10000];
<span class="linenum"> 5984</span>&nbsp;&nbsp;
<span class="linenum"> 5985</span>&nbsp;&nbsp;    <span class="comment">/* copy ROMs into decrypted bank */</span>
<span class="linenum"> 5986</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0; i &lt; 0x1000; i++)
<span class="linenum"> 5987</span>&nbsp;&nbsp;    {
<span class="linenum"> 5988</span>&nbsp;&nbsp;        DROM[0x0000+i] = ROM[0x0000+i]; <span class="comment">/* pacman.6e */</span>
<span class="linenum"> 5989</span>&nbsp;&nbsp;        DROM[0x1000+i] = ROM[0x1000+i]; <span class="comment">/* pacman.6f */</span>
<span class="linenum"> 5990</span>&nbsp;&nbsp;        DROM[0x2000+i] = ROM[0x2000+i]; <span class="comment">/* pacman.6h */</span>
<span class="linenum"> 5991</span>&nbsp;&nbsp;        DROM[0x3000+i] = BITSWAP8(ROM[0xb000+BITSWAP12(i,11,3,7,9,10,8,6,5,4,2,1,0)],0,4,5,7,6,3,2,1);  <span class="comment">/* decrypt u7 */</span>
<span class="linenum"> 5992</span>&nbsp;&nbsp;    }
<span class="linenum"> 5993</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0; i &lt; 0x800; i++)
<span class="linenum"> 5994</span>&nbsp;&nbsp;    {
<span class="linenum"> 5995</span>&nbsp;&nbsp;        DROM[0x8000+i] = BITSWAP8(ROM[0x8000+BITSWAP11(i,   8,7,5,9,10,6,3,4,2,1,0)],0,4,5,7,6,3,2,1);  <span class="comment">/* decrypt u5 */</span>
<span class="linenum"> 5996</span>&nbsp;&nbsp;        DROM[0x8800+i] = BITSWAP8(ROM[0x9800+BITSWAP12(i,11,3,7,9,10,8,6,5,4,2,1,0)],0,4,5,7,6,3,2,1);  <span class="comment">/* decrypt half of u6 */</span>
<span class="linenum"> 5997</span>&nbsp;&nbsp;        DROM[0x9000+i] = BITSWAP8(ROM[0x9000+BITSWAP12(i,11,3,7,9,10,8,6,5,4,2,1,0)],0,4,5,7,6,3,2,1);  <span class="comment">/* decrypt half of u6 */</span>
<span class="linenum"> 5998</span>&nbsp;&nbsp;        DROM[0x9800+i] = ROM[0x1800+i];     <span class="comment">/* mirror of pacman.6f high */</span>
<span class="linenum"> 5999</span>&nbsp;&nbsp;    }
<span class="linenum"> 6000</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0; i &lt; 0x1000; i++)
<span class="linenum"> 6001</span>&nbsp;&nbsp;    {
<span class="linenum"> 6002</span>&nbsp;&nbsp;        DROM[0xa000+i] = ROM[0x2000+i];     <span class="comment">/* mirror of pacman.6h */</span>
<span class="linenum"> 6003</span>&nbsp;&nbsp;        DROM[0xb000+i] = ROM[0x3000+i];     <span class="comment">/* mirror of pacman.6j */</span>
<span class="linenum"> 6004</span>&nbsp;&nbsp;    }
<span class="linenum"> 6005</span>&nbsp;&nbsp;    <span class="comment">/* install patches into decrypted bank */</span>
<span class="linenum"> 6006</span>&nbsp;&nbsp;    mspacman_install_patches(DROM);
<span class="linenum"> 6007</span>&nbsp;&nbsp;
<span class="linenum"> 6008</span>&nbsp;&nbsp;    <span class="comment">/* mirror Pac-Man ROMs into upper addresses of normal bank */</span>
<span class="linenum"> 6009</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0; i &lt; 0x1000; i++)
<span class="linenum"> 6010</span>&nbsp;&nbsp;    {
<span class="linenum"> 6011</span>&nbsp;&nbsp;        ROM[0x8000+i] = ROM[0x0000+i];
<span class="linenum"> 6012</span>&nbsp;&nbsp;        ROM[0x9000+i] = ROM[0x1000+i];
<span class="linenum"> 6013</span>&nbsp;&nbsp;        ROM[0xa000+i] = ROM[0x2000+i];
<span class="linenum"> 6014</span>&nbsp;&nbsp;        ROM[0xb000+i] = ROM[0x3000+i];
<span class="linenum"> 6015</span>&nbsp;&nbsp;    }
<span class="linenum"> 6016</span>&nbsp;&nbsp;
<span class="linenum"> 6017</span>&nbsp;&nbsp;    <span class="comment">/* initialize the banks */</span>
<span class="linenum"> 6018</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank1"</span>)-&gt;configure_entries(0, 2, &amp;ROM[0x00000], 0x10000);
<span class="linenum"> 6019</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank1"</span>)-&gt;set_entry(1);
<span class="linenum"> 6020</span>&nbsp;&nbsp;}
<span class="linenum"> 6021</span>&nbsp;&nbsp;
<span class="linenum"> 6022</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,woodpek)
<span class="linenum"> 6023</span>&nbsp;&nbsp;{
<span class="linenum"> 6024</span>&nbsp;&nbsp;    <span class="keyword">int</span> i, len;
<span class="linenum"> 6025</span>&nbsp;&nbsp;    UINT8 *RAM;
<span class="linenum"> 6026</span>&nbsp;&nbsp;
<span class="linenum"> 6027</span>&nbsp;&nbsp;    <span class="comment">/* Graphics ROMs */</span>
<span class="linenum"> 6028</span>&nbsp;&nbsp;
<span class="linenum"> 6029</span>&nbsp;&nbsp;    <span class="comment">/* Data lines D4 and D6 and address lines A0 and A2 are swapped */</span>
<span class="linenum"> 6030</span>&nbsp;&nbsp;    RAM = machine().root_device().memregion(<span class="string">"gfx1"</span>)-&gt;base();
<span class="linenum"> 6031</span>&nbsp;&nbsp;    len = machine().root_device().memregion(<span class="string">"gfx1"</span>)-&gt;bytes();
<span class="linenum"> 6032</span>&nbsp;&nbsp;    <span class="keyword">for</span> (i = 0;i &lt; len;i += 8)
<span class="linenum"> 6033</span>&nbsp;&nbsp;        eyes_decode(&amp;RAM[i]);
<span class="linenum"> 6034</span>&nbsp;&nbsp;}
<span class="linenum"> 6035</span>&nbsp;&nbsp;
<span class="linenum"> 6036</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,pacplus)
<span class="linenum"> 6037</span>&nbsp;&nbsp;{
<span class="linenum"> 6038</span>&nbsp;&nbsp;    pacplus_decode(machine());
<span class="linenum"> 6039</span>&nbsp;&nbsp;}
<span class="linenum"> 6040</span>&nbsp;&nbsp;
<span class="linenum"> 6041</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,jumpshot)
<span class="linenum"> 6042</span>&nbsp;&nbsp;{
<span class="linenum"> 6043</span>&nbsp;&nbsp;    jumpshot_decode(machine());
<span class="linenum"> 6044</span>&nbsp;&nbsp;}
<span class="linenum"> 6045</span>&nbsp;&nbsp;
<span class="linenum"> 6046</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,drivfrcp)
<span class="linenum"> 6047</span>&nbsp;&nbsp;{
<span class="linenum"> 6048</span>&nbsp;&nbsp;    UINT8 *ROM = machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 6049</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank1"</span>)-&gt;set_base(&amp;ROM[0 * 0x2000]);
<span class="linenum"> 6050</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank2"</span>)-&gt;set_base(&amp;ROM[1 * 0x2000]);
<span class="linenum"> 6051</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank3"</span>)-&gt;set_base(&amp;ROM[2 * 0x2000]);
<span class="linenum"> 6052</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank4"</span>)-&gt;set_base(&amp;ROM[3 * 0x2000]);
<span class="linenum"> 6053</span>&nbsp;&nbsp;}
<span class="linenum"> 6054</span>&nbsp;&nbsp;
<span class="linenum"> 6055</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,8bpm)
<span class="linenum"> 6056</span>&nbsp;&nbsp;{
<span class="linenum"> 6057</span>&nbsp;&nbsp;    UINT8 *ROM = machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 6058</span>&nbsp;&nbsp;    <span class="keyword">int</span> i;
<span class="linenum"> 6059</span>&nbsp;&nbsp;
<span class="linenum"> 6060</span>&nbsp;&nbsp;    <span class="comment">/* Data lines D0 and D6 swapped */</span>
<span class="linenum"> 6061</span>&nbsp;&nbsp;    <span class="keyword">for</span>( i = 0; i &lt; 0x8000; i++ )
<span class="linenum"> 6062</span>&nbsp;&nbsp;    {
<span class="linenum"> 6063</span>&nbsp;&nbsp;        ROM[i] = BITSWAP8(ROM[i],7,0,5,4,3,2,1,6);
<span class="linenum"> 6064</span>&nbsp;&nbsp;    }
<span class="linenum"> 6065</span>&nbsp;&nbsp;
<span class="linenum"> 6066</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank1"</span>)-&gt;set_base(&amp;ROM[0 * 0x2000]);
<span class="linenum"> 6067</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank2"</span>)-&gt;set_base(&amp;ROM[1 * 0x2000]);
<span class="linenum"> 6068</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank3"</span>)-&gt;set_base(&amp;ROM[2 * 0x2000]);
<span class="linenum"> 6069</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank4"</span>)-&gt;set_base(&amp;ROM[3 * 0x2000]);
<span class="linenum"> 6070</span>&nbsp;&nbsp;}
<span class="linenum"> 6071</span>&nbsp;&nbsp;
<span class="linenum"> 6072</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,porky)
<span class="linenum"> 6073</span>&nbsp;&nbsp;{
<span class="linenum"> 6074</span>&nbsp;&nbsp;    UINT8 *ROM = machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 6075</span>&nbsp;&nbsp;    <span class="keyword">int</span> i;
<span class="linenum"> 6076</span>&nbsp;&nbsp;
<span class="linenum"> 6077</span>&nbsp;&nbsp;    <span class="comment">/* Data lines D0 and D4 swapped */</span>
<span class="linenum"> 6078</span>&nbsp;&nbsp;    <span class="keyword">for</span>(i = 0; i &lt; 0x10000; i++)
<span class="linenum"> 6079</span>&nbsp;&nbsp;    {
<span class="linenum"> 6080</span>&nbsp;&nbsp;        ROM[i] = BITSWAP8(ROM[i],7,6,5,0,3,2,1,4);
<span class="linenum"> 6081</span>&nbsp;&nbsp;    }
<span class="linenum"> 6082</span>&nbsp;&nbsp;
<span class="linenum"> 6083</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank1"</span>)-&gt;configure_entries(0, 2, &amp;ROM[0 * 0x2000], 0x8000);
<span class="linenum"> 6084</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank2"</span>)-&gt;configure_entries(0, 2, &amp;ROM[1 * 0x2000], 0x8000);
<span class="linenum"> 6085</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank3"</span>)-&gt;configure_entries(0, 2, &amp;ROM[2 * 0x2000], 0x8000);
<span class="linenum"> 6086</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank4"</span>)-&gt;configure_entries(0, 2, &amp;ROM[3 * 0x2000], 0x8000);
<span class="linenum"> 6087</span>&nbsp;&nbsp;
<span class="linenum"> 6088</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank1"</span>)-&gt;set_entry(0);
<span class="linenum"> 6089</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank2"</span>)-&gt;set_entry(0);
<span class="linenum"> 6090</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank3"</span>)-&gt;set_entry(0);
<span class="linenum"> 6091</span>&nbsp;&nbsp;    machine().root_device().membank(<span class="string">"bank4"</span>)-&gt;set_entry(0);
<span class="linenum"> 6092</span>&nbsp;&nbsp;}
<span class="linenum"> 6093</span>&nbsp;&nbsp;
<span class="linenum"> 6094</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,rocktrv2)
<span class="linenum"> 6095</span>&nbsp;&nbsp;{
<span class="linenum"> 6096</span>&nbsp;&nbsp;    <span class="comment">/* hack to pass the rom check for the bad rom */</span>
<span class="linenum"> 6097</span>&nbsp;&nbsp;    UINT8 *ROM = machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 6098</span>&nbsp;&nbsp;
<span class="linenum"> 6099</span>&nbsp;&nbsp;    ROM[0x7ffe] = 0xa7;
<span class="linenum"> 6100</span>&nbsp;&nbsp;    ROM[0x7fee] = 0x6d;
<span class="linenum"> 6101</span>&nbsp;&nbsp;}
<span class="linenum"> 6102</span>&nbsp;&nbsp;
<span class="linenum"> 6103</span>&nbsp;&nbsp;<span class="comment">/* The encrpytion is provided by a 74298 sitting on top of the rom at 6f.
<span class="linenum"> 6104</span>&nbsp;&nbsp;The select line is tied to a2; a0 and a1 of the eprom are are left out of
<span class="linenum"> 6105</span>&nbsp;&nbsp;socket and run through the 74298.  Clock is tied to system clock.  */</span>
<span class="linenum"> 6106</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,mspacmbe)
<span class="linenum"> 6107</span>&nbsp;&nbsp;{
<span class="linenum"> 6108</span>&nbsp;&nbsp;    UINT8 temp;
<span class="linenum"> 6109</span>&nbsp;&nbsp;    UINT8 *RAM = machine().root_device().memregion(<span class="string">"maincpu"</span>)-&gt;base();
<span class="linenum"> 6110</span>&nbsp;&nbsp;    <span class="keyword">int</span> i;
<span class="linenum"> 6111</span>&nbsp;&nbsp;
<span class="linenum"> 6112</span>&nbsp;&nbsp;    <span class="comment">/* Address lines A1 and A0 swapped if A2=0 */</span>
<span class="linenum"> 6113</span>&nbsp;&nbsp;    <span class="keyword">for</span>(i = 0x1000; i &lt; 0x2000; i+=4)
<span class="linenum"> 6114</span>&nbsp;&nbsp;    {
<span class="linenum"> 6115</span>&nbsp;&nbsp;        <span class="keyword">if</span> (!(i &amp; 8))
<span class="linenum"> 6116</span>&nbsp;&nbsp;        {
<span class="linenum"> 6117</span>&nbsp;&nbsp;                temp = RAM[i+1];
<span class="linenum"> 6118</span>&nbsp;&nbsp;                RAM[i+1] = RAM[i+2];
<span class="linenum"> 6119</span>&nbsp;&nbsp;                RAM[i+2] = temp;
<span class="linenum"> 6120</span>&nbsp;&nbsp;        };
<span class="linenum"> 6121</span>&nbsp;&nbsp;    }
<span class="linenum"> 6122</span>&nbsp;&nbsp;}
<span class="linenum"> 6123</span>&nbsp;&nbsp;
<span class="linenum"> 6124</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::mspacii_protection_r)
<span class="linenum"> 6125</span>&nbsp;&nbsp;{
<span class="linenum"> 6126</span>&nbsp;&nbsp;    <span class="comment">/* used by extra routine at $3FE, bit 4 of 504d needs to be low, and of 504e to be high */</span>
<span class="linenum"> 6127</span>&nbsp;&nbsp;    UINT8 data = ioport(<span class="string">"IN1"</span>)-&gt;read();
<span class="linenum"> 6128</span>&nbsp;&nbsp;    <span class="keyword">return</span> (data &amp; 0xef) | (offset &lt;&lt; 4 &amp; 0x10);
<span class="linenum"> 6129</span>&nbsp;&nbsp;}
<span class="linenum"> 6130</span>&nbsp;&nbsp;
<span class="linenum"> 6131</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,mspacii)
<span class="linenum"> 6132</span>&nbsp;&nbsp;{
<span class="linenum"> 6133</span>&nbsp;&nbsp;    <span class="comment">// protection</span>
<span class="linenum"> 6134</span>&nbsp;&nbsp;    m_maincpu-&gt;space(AS_PROGRAM).install_read_handler(0x504d, 0x506f, read8_delegate(FUNC(pacman_state::mspacii_protection_r), <span class="keyword">this</span>));
<span class="linenum"> 6135</span>&nbsp;&nbsp;}
<span class="linenum"> 6136</span>&nbsp;&nbsp;
<span class="linenum"> 6137</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,superabc)
<span class="linenum"> 6138</span>&nbsp;&nbsp;{
<span class="linenum"> 6139</span>&nbsp;&nbsp;    UINT8 *src = machine().root_device().memregion(<span class="string">"user1"</span>)-&gt;base();
<span class="linenum"> 6140</span>&nbsp;&nbsp;    UINT8 *dest = machine().root_device().memregion(<span class="string">"gfx1"</span>)-&gt;base();
<span class="linenum"> 6141</span>&nbsp;&nbsp;
<span class="linenum"> 6142</span>&nbsp;&nbsp;    <span class="comment">// descramble gfx</span>
<span class="linenum"> 6143</span>&nbsp;&nbsp;    <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; 0x10000; i++)
<span class="linenum"> 6144</span>&nbsp;&nbsp;        dest[i] = src[BITSWAP24(i,23,22,21,20,19,18,17, 12,13,14,16,15, 11,10,9,8,7,6,5,4,3,2,1,0)];
<span class="linenum"> 6145</span>&nbsp;&nbsp;}
<span class="linenum"> 6146</span>&nbsp;&nbsp;
<span class="linenum"> 6147</span>&nbsp;&nbsp;READ8_MEMBER(pacman_state::cannonbp_protection_r)
<span class="linenum"> 6148</span>&nbsp;&nbsp;{
<span class="linenum"> 6149</span>&nbsp;&nbsp;    <span class="comment">/* At 6p where a rom would usually be there is an epoxy resin chip with 'Novomatic Industrie' Cannon Ball tm 1984 label. */</span>
<span class="linenum"> 6150</span>&nbsp;&nbsp;    <span class="comment">/* As I have no clue about what shall be in this chip, what follows is only a simulation which is enough to play the game. */</span>
<span class="linenum"> 6151</span>&nbsp;&nbsp;    <span class="keyword">switch</span> (offset)
<span class="linenum"> 6152</span>&nbsp;&nbsp;    {
<span class="linenum"> 6153</span>&nbsp;&nbsp;        <span class="keyword">default</span>:
<span class="linenum"> 6154</span>&nbsp;&nbsp;            logerror(<span class="string">"CPU0 %04x: Unhandled protection read, offset %04x\n"</span>, space.device().safe_pc(), offset);
<span class="linenum"> 6155</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x00;
<span class="linenum"> 6156</span>&nbsp;&nbsp;
<span class="linenum"> 6157</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0000: <span class="comment">// unknown</span>
<span class="linenum"> 6158</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0003: <span class="comment">// unknown</span>
<span class="linenum"> 6159</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0012: <span class="comment">// unknown</span>
<span class="linenum"> 6160</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x00;
<span class="linenum"> 6161</span>&nbsp;&nbsp;
<span class="linenum"> 6162</span>&nbsp;&nbsp;        <span class="comment">/* code at 0x2b77 :
<span class="linenum"> 6163</span>&nbsp;&nbsp;             - after partial checksum (range 0x0000-0x1e7c), HL = 0x9d39
<span class="linenum"> 6164</span>&nbsp;&nbsp;             - then L += A and HL += 0x717c to determine jump address after bonus round
<span class="linenum"> 6165</span>&nbsp;&nbsp;               where A is the result of 8 reads from 0x3001
<span class="linenum"> 6166</span>&nbsp;&nbsp;             - as jump address shall be 0x0efb, A = 0x46
<span class="linenum"> 6167</span>&nbsp;&nbsp;             - as H after partial checksum is wrong in the bootlegs,
<span class="linenum"> 6168</span>&nbsp;&nbsp;               they will reset or hang after bonus round
<span class="linenum"> 6169</span>&nbsp;&nbsp;               unless you patch ROM at 0x2ba0 with this code :
<span class="linenum"> 6170</span>&nbsp;&nbsp;                 2BA0: 21 FB 0E      ld   hl,$0EFB
<span class="linenum"> 6171</span>&nbsp;&nbsp;                 2BA3: 00            nop
<span class="linenum"> 6172</span>&nbsp;&nbsp;        */</span>
<span class="linenum"> 6173</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0004:
<span class="linenum"> 6174</span>&nbsp;&nbsp;            m_cannonb_bit_to_read = 7;
<span class="linenum"> 6175</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x00;
<span class="linenum"> 6176</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0001: <span class="comment">// affects the ball hitting the blocks as well as jump address after bonus round</span>
<span class="linenum"> 6177</span>&nbsp;&nbsp;            <span class="keyword">if</span> (space.device().safe_pc() == 0x2b97)
<span class="linenum"> 6178</span>&nbsp;&nbsp;                <span class="keyword">return</span> (BIT(0x46, m_cannonb_bit_to_read--) &lt;&lt; 7);
<span class="linenum"> 6179</span>&nbsp;&nbsp;            <span class="keyword">else</span>
<span class="linenum"> 6180</span>&nbsp;&nbsp;                <span class="keyword">return</span> 0xff;            <span class="comment">/* value taken from the bootlegs */</span>
<span class="linenum"> 6181</span>&nbsp;&nbsp;
<span class="linenum"> 6182</span>&nbsp;&nbsp;        <span class="comment">/* code at 0x2613 : HL += 0xd088 for start position - in the bootlegs, start position = 0x1088 */</span>
<span class="linenum"> 6183</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0105: <span class="comment">// player start x position -&gt; register L</span>
<span class="linenum"> 6184</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x00;
<span class="linenum"> 6185</span>&nbsp;&nbsp;        <span class="keyword">case</span> 0x0107: <span class="comment">// player start y position -&gt; register H</span>
<span class="linenum"> 6186</span>&nbsp;&nbsp;            <span class="keyword">return</span> 0x40;
<span class="linenum"> 6187</span>&nbsp;&nbsp;    }
<span class="linenum"> 6188</span>&nbsp;&nbsp;}
<span class="linenum"> 6189</span>&nbsp;&nbsp;
<span class="linenum"> 6190</span>&nbsp;&nbsp;
<span class="linenum"> 6191</span>&nbsp;&nbsp;DRIVER_INIT_MEMBER(pacman_state,cannonbp)
<span class="linenum"> 6192</span>&nbsp;&nbsp;{
<span class="linenum"> 6193</span>&nbsp;&nbsp;    <span class="comment">/* extra memory */</span>
<span class="linenum"> 6194</span>&nbsp;&nbsp;    m_maincpu-&gt;space(AS_PROGRAM).install_ram(0x4800, 0x4bff);
<span class="linenum"> 6195</span>&nbsp;&nbsp;
<span class="linenum"> 6196</span>&nbsp;&nbsp;    <span class="comment">/* protection? */</span>
<span class="linenum"> 6197</span>&nbsp;&nbsp;    m_maincpu-&gt;space(AS_PROGRAM).install_read_handler(0x3000, 0x3fff, read8_delegate(FUNC(pacman_state::cannonbp_protection_r),<span class="keyword">this</span>));
<span class="linenum"> 6198</span>&nbsp;&nbsp;}
<span class="linenum"> 6199</span>&nbsp;&nbsp;
<span class="linenum"> 6200</span>&nbsp;&nbsp;
<span class="linenum"> 6201</span>&nbsp;&nbsp;<span class="comment">/*************************************
<span class="linenum"> 6202</span>&nbsp;&nbsp; *
<span class="linenum"> 6203</span>&nbsp;&nbsp; *  Game drivers
<span class="linenum"> 6204</span>&nbsp;&nbsp; *
<span class="linenum"> 6205</span>&nbsp;&nbsp; *************************************/</span>
<span class="linenum"> 6206</span>&nbsp;&nbsp;
<span class="linenum"> 6207</span>&nbsp;&nbsp;<span class="comment">/*          rom       parent    machine   inp       init */</span>
<span class="linenum"> 6208</span>&nbsp;&nbsp;GAME( 1980, puckman,  0,        pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"Namco"</span>, <span class="string">"Puck Man (Japan set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6209</span>&nbsp;&nbsp;GAME( 1980, puckmana, puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"Namco"</span>, <span class="string">"Puck Man (Japan set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6210</span>&nbsp;&nbsp;GAME( 1980, puckmanf, puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Puck Man (Japan set 1, speedup hack)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6211</span>&nbsp;&nbsp;GAME( 1980, puckmanh, puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Puck Man (Falcom?)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6212</span>&nbsp;&nbsp;GAME( 1980, pacman,   puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"Namco (Midway license)"</span>, <span class="string">"Pac-Man (Midway)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6213</span>&nbsp;&nbsp;GAME( 1980, pacmanf,  puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Pac-Man (Midway, speedup hack)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6214</span>&nbsp;&nbsp;GAME( 1981, puckmod,  puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"Namco"</span>, <span class="string">"Puck Man (Japan set 3)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6215</span>&nbsp;&nbsp;GAME( 1981, pacmod,   puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"Namco (Midway license)"</span>, <span class="string">"Pac-Man (Midway, harder)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6216</span>&nbsp;&nbsp;GAME( 1980, newpuc2,  puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Newpuc2 (set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6217</span>&nbsp;&nbsp;GAME( 1980, newpuc2b, puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Newpuc2 (set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6218</span>&nbsp;&nbsp;GAME( 1980, newpuckx, puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"New Puck-X"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6219</span>&nbsp;&nbsp;GAME( 1981, pacheart, puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Pac-Man (Hearts)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6220</span>&nbsp;&nbsp;GAME( 19??, bucaner,  puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Buccaneer"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6221</span>&nbsp;&nbsp;GAME( 1981, hangly,   puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Hangly-Man (set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6222</span>&nbsp;&nbsp;GAME( 1981, hangly2,  puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Hangly-Man (set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6223</span>&nbsp;&nbsp;GAME( 1981, hangly3,  puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Hangly-Man (set 3)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6224</span>&nbsp;&nbsp;GAME( 1981, popeyeman,puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Popeye-Man"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6225</span>&nbsp;&nbsp;GAME( 1980, crockman, puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"bootleg (Rene Pierre)"</span>, <span class="string">"Crock-Man"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6226</span>&nbsp;&nbsp;GAME( 1981, piranhah, puckman,  pacman,   mspacman, driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Piranha (hack)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6227</span>&nbsp;&nbsp;GAME( 1981, crush,    0,        pacman,   maketrax, pacman_state,  maketrax, ROT90,  <span class="string">"Alpha Denshi Co. / Kural Samno Electric, Ltd."</span>, <span class="string">"Crush Roller (set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6228</span>&nbsp;&nbsp;GAME( 1981, crush2,   crush,    pacman,   maketrax, driver_device, 0,        ROT90,  <span class="string">"Alpha Denshi Co. / Kural Esco Electric, Ltd."</span>, <span class="string">"Crush Roller (set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6229</span>&nbsp;&nbsp;GAME( 1981, crush3,   crush,    pacman,   maketrax, pacman_state,  eyes,     ROT90,  <span class="string">"Alpha Denshi Co. / Kural Electric, Ltd."</span>, <span class="string">"Crush Roller (set 3)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6230</span>&nbsp;&nbsp;GAME( 1981, crush4,   crush,    crush4,   crush4,   driver_device, 0,        ROT90,  <span class="string">"Alpha Denshi Co. / Kural TWT"</span>, <span class="string">"Crush Roller (set 4)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6231</span>&nbsp;&nbsp;GAME( 1981, maketrax, crush,    pacman,   maketrax, pacman_state,  maketrax, ROT270, <span class="string">"Alpha Denshi Co. / Kural (Williams license)"</span>, <span class="string">"Make Trax (US set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6232</span>&nbsp;&nbsp;GAME( 1981, maketrxb, crush,    pacman,   maketrax, pacman_state,  maketrax, ROT270, <span class="string">"Alpha Denshi Co. / Kural (Williams license)"</span>, <span class="string">"Make Trax (US set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6233</span>&nbsp;&nbsp;GAME( 1981, korosuke, crush,    pacman,   korosuke, pacman_state,  korosuke, ROT90,  <span class="string">"Alpha Denshi Co. / Kural Electric, Ltd."</span>, <span class="string">"Korosuke Roller (Japan)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6234</span>&nbsp;&nbsp;GAME( 1981, crushbl,  crush,    pacman,   maketrax, driver_device, 0,        ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Crush Roller (bootleg set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6235</span>&nbsp;&nbsp;GAME( 1981, crushbl2, crush,    pacman,   mbrush,   pacman_state,  maketrax, ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Crush Roller (bootleg set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6236</span>&nbsp;&nbsp;GAME( 1981, crushs,   crush,    crushs,   crushs,   driver_device, 0,        ROT90,  <span class="string">"bootleg (Sidam)"</span>, <span class="string">"Crush Roller (bootleg set 3)"</span>, GAME_SUPPORTS_SAVE ) <span class="comment">// Sidam PCB, no Sidam text</span>
<span class="linenum"> 6237</span>&nbsp;&nbsp;GAME( 1981, mbrush,   crush,    pacman,   mbrush,   pacman_state,  maketrax, ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Magic Brush (bootleg of Crush Roller)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6238</span>&nbsp;&nbsp;GAME( 1981, paintrlr, crush,    pacman,   paintrlr, driver_device, 0,        ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Paint Roller (bootleg of Crush Roller)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6239</span>&nbsp;&nbsp;GAME( 1982, pacplus,  0,        pacman,   pacman,   pacman_state,  pacplus,  ROT90,  <span class="string">"Namco (Midway license)"</span>, <span class="string">"Pac-Man Plus"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6240</span>&nbsp;&nbsp;GAME( 1982, joyman,   puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Joyman"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6241</span>&nbsp;&nbsp;GAME( 1982, ctrpllrp, puckman,  pacman,   pacman,   driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Caterpillar Pacman Hack"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6242</span>&nbsp;&nbsp;GAME( 1982, eyes,     0,        pacman,   eyes,     pacman_state,  eyes,     ROT90,  <span class="string">"Techstar (Rock-Ola license)"</span>, <span class="string">"Eyes (US set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6243</span>&nbsp;&nbsp;GAME( 1982, eyes2,    eyes,     pacman,   eyes,     pacman_state,  eyes,     ROT90,  <span class="string">"Techstar (Rock-Ola license)"</span>, <span class="string">"Eyes (US set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6244</span>&nbsp;&nbsp;GAME( 1982, eyesb,    eyes,     pacman,   eyes,     pacman_state,  eyes,     ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Eyes (bootleg set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6245</span>&nbsp;&nbsp;GAME( 1982, eyeszac,  eyes,     pacman,   eyes,     pacman_state,  eyes,     ROT90,  <span class="string">"Techstar (Zaccaria license)"</span>, <span class="string">"Eyes (Italy)"</span>, GAME_SUPPORTS_SAVE | GAME_NOT_WORKING ) <span class="comment">// bad dump</span>
<span class="linenum"> 6246</span>&nbsp;&nbsp;GAME( 1982, eyeszacb, eyes,     pacman,   eyes,     driver_device, 0,        ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Eyes (bootleg set 2, decrypted)"</span>, GAME_SUPPORTS_SAVE ) <span class="comment">// based on Zaccaria version</span>
<span class="linenum"> 6247</span>&nbsp;&nbsp;GAME( 1983, birdiy,   0,        birdiy,   birdiy,   driver_device, 0,        ROT270, <span class="string">"Mama Top"</span>, <span class="string">"Birdiy"</span>, GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE )
<span class="linenum"> 6248</span>&nbsp;&nbsp;GAME( 1983, mrtnt,    0,        pacman,   mrtnt,    pacman_state,  eyes,     ROT90,  <span class="string">"Techstar (Telko license)"</span>, <span class="string">"Mr. TNT"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6249</span>&nbsp;&nbsp;GAME( 1983, gorkans,  mrtnt,    pacman,   mrtnt,    driver_device, 0,        ROT90,  <span class="string">"Techstar"</span>, <span class="string">"Gorkans"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6250</span>&nbsp;&nbsp;GAME( 1983, eggor,    0,        pacman,   mrtnt,    pacman_state,  eyes,     ROT90,  <span class="string">"Telko"</span>, <span class="string">"Eggor"</span>, GAME_WRONG_COLORS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
<span class="linenum"> 6251</span>&nbsp;&nbsp;GAME( 1985, jumpshot, 0,        pacman,   jumpshot, pacman_state,  jumpshot, ROT90,  <span class="string">"Bally Midway"</span>, <span class="string">"Jump Shot"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6252</span>&nbsp;&nbsp;GAME( 1985, jumpshotp,jumpshot, pacman,   jumpshotp,pacman_state,  jumpshot, ROT90,  <span class="string">"Bally Midway"</span>, <span class="string">"Jump Shot Engineering Sample"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6253</span>&nbsp;&nbsp;GAME( 1985, shootbul, 0,        pacman,   shootbul, pacman_state,  jumpshot, ROT90,  <span class="string">"Bally Midway"</span>, <span class="string">"Shoot the Bull"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6254</span>&nbsp;&nbsp;GAME( 1981, piranha,  puckman,  piranha,  mspacman, pacman_state,  eyes,     ROT90,  <span class="string">"GL (US Billiards license)"</span>, <span class="string">"Piranha"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6255</span>&nbsp;&nbsp;GAME( 1981, piranhao, puckman,  piranha,  mspacman, pacman_state,  eyes,     ROT90,  <span class="string">"GL (US Billiards license)"</span>, <span class="string">"Piranha (older)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6256</span>&nbsp;&nbsp;GAME( 1981, abscam,   puckman,  piranha,  mspacman, pacman_state,  eyes,     ROT90,  <span class="string">"GL (US Billiards license)"</span>, <span class="string">"Abscam"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6257</span>&nbsp;&nbsp;GAME( 1981, nmouse,   0,        nmouse,   nmouse,   pacman_state,  eyes,     ROT90,  <span class="string">"Amenip (Palcom Queen River)"</span>, <span class="string">"Naughty Mouse (set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6258</span>&nbsp;&nbsp;GAME( 1981, nmouseb,  nmouse,   nmouse,   nmouse,   pacman_state,  eyes,     ROT90,  <span class="string">"Amenip Nova Games Ltd."</span>, <span class="string">"Naughty Mouse (set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6259</span>&nbsp;&nbsp;GAME( 1981, mspacman, 0,        mspacman, mspacman, pacman_state,  mspacman, ROT90,  <span class="string">"Midway / General Computer Corporation"</span>, <span class="string">"Ms. Pac-Man"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6260</span>&nbsp;&nbsp;GAME( 1981, mspacmnf, mspacman, mspacman, mspacman, pacman_state,  mspacman, ROT90,  <span class="string">"hack"</span>, <span class="string">"Ms. Pac-Man (speedup hack)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6261</span>&nbsp;&nbsp;GAME( 1981, mspacmat, mspacman, mspacman, mspacman, pacman_state,  mspacman, ROT90,  <span class="string">"hack"</span>, <span class="string">"Ms. Pac Attack"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6262</span>&nbsp;&nbsp;GAME( 1989, msheartb, mspacman, mspacman, mspacman, pacman_state,  mspacman, ROT90,  <span class="string">"hack (Two-Bit Score)"</span>, <span class="string">"Ms. Pac-Man Heart Burn"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6263</span>&nbsp;&nbsp;GAME( 1981, woodpeck, 0,        woodpek,  woodpek,  pacman_state,  woodpek,  ROT90,  <span class="string">"Amenip (Palcom Queen River)"</span>, <span class="string">"Woodpecker (set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6264</span>&nbsp;&nbsp;GAME( 1981, woodpeca, woodpeck, woodpek,  woodpek,  pacman_state,  woodpek,  ROT90,  <span class="string">"Amenip"</span>, <span class="string">"Woodpecker (set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6265</span>&nbsp;&nbsp;GAME( 1981, mspacmab, mspacman, woodpek,  mspacman, driver_device, 0,        ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Ms. Pac-Man (bootleg)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6266</span>&nbsp;&nbsp;GAME( 1981, mspacmbe, mspacman, woodpek,  mspacman, pacman_state,  mspacmbe, ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Ms. Pac-Man (bootleg, encrypted)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6267</span>&nbsp;&nbsp;GAME( 1981, mspacii,  mspacman, woodpek,  mspacman, pacman_state,  mspacii,  ROT90,  <span class="string">"bootleg (Orca)"</span>, <span class="string">"Ms. Pac-Man II (Orca bootleg set 1)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6268</span>&nbsp;&nbsp;GAME( 1981, mspacii2, mspacman, woodpek,  mspacman, pacman_state,  mspacii,  ROT90,  <span class="string">"bootleg (Orca)"</span>, <span class="string">"Ms. Pac-Man II (Orca bootleg set 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6269</span>&nbsp;&nbsp;GAME( 1981, pacgal,   mspacman, woodpek,  mspacman, driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Pac-Gal"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6270</span>&nbsp;&nbsp;GAME( 1981, mspacpls, mspacman, woodpek,  mspacpls, driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Ms. Pac-Man Plus"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6271</span>&nbsp;&nbsp;GAME( 1982, ponpoko,  0,        woodpek,  ponpoko,  pacman_state,  ponpoko,  ROT0,   <span class="string">"Sigma Enterprises Inc."</span>, <span class="string">"Ponpoko"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6272</span>&nbsp;&nbsp;GAME( 1982, ponpokov, ponpoko,  woodpek,  ponpoko,  pacman_state,  ponpoko,  ROT0,   <span class="string">"Sigma Enterprises Inc. (Venture Line license)"</span>, <span class="string">"Ponpoko (Venture Line)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6273</span>&nbsp;&nbsp;GAME( 1985, lizwiz,   0,        woodpek,  lizwiz,   driver_device, 0,        ROT90,  <span class="string">"Techstar (Sunn license)"</span>, <span class="string">"Lizard Wizard"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6274</span>&nbsp;&nbsp;GAME( 1982, alibaba,  0,        alibaba,  alibaba,  driver_device, 0,        ROT90,  <span class="string">"Sega"</span>, <span class="string">"Ali Baba and 40 Thieves"</span>, GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE )
<span class="linenum"> 6275</span>&nbsp;&nbsp;GAME( 1982, alibabab, alibaba,  alibaba,  alibaba,  driver_device, 0,        ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Mustafa and 40 Thieves (bootleg)"</span>, GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE )
<span class="linenum"> 6276</span>&nbsp;&nbsp;GAME( 1982, dremshpr, 0,        dremshpr, dremshpr, driver_device, 0,        ROT270, <span class="string">"Sanritsu"</span>, <span class="string">"Dream Shopper"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6277</span>&nbsp;&nbsp;GAME( 1983, vanvan,   0,        vanvan,   vanvan,   driver_device, 0,        ROT270, <span class="string">"Sanritsu"</span>, <span class="string">"Van-Van Car"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6278</span>&nbsp;&nbsp;GAME( 1983, vanvank,  vanvan,   vanvan,   vanvank,  driver_device, 0,        ROT270, <span class="string">"Sanritsu (Karateco license?)"</span>, <span class="string">"Van-Van Car (Karateco set 1)"</span>, GAME_SUPPORTS_SAVE ) <span class="comment">// or bootleg?</span>
<span class="linenum"> 6279</span>&nbsp;&nbsp;GAME( 1983, vanvanb,  vanvan,   vanvan,   vanvank,  driver_device, 0,        ROT270, <span class="string">"Sanritsu (Karateco license?)"</span>, <span class="string">"Van-Van Car (Karateco set 2)"</span>, GAME_SUPPORTS_SAVE ) <span class="comment">// "</span>
<span class="linenum"> 6280</span>&nbsp;&nbsp;GAME( 1983, bwcasino, 0,        acitya,   bwcasino, driver_device, 0,        ROT90,  <span class="string">"Epos Corporation"</span>, <span class="string">"Boardwalk Casino"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6281</span>&nbsp;&nbsp;GAME( 1983, acitya,   bwcasino, acitya,   acitya,   driver_device, 0,        ROT90,  <span class="string">"Epos Corporation"</span>, <span class="string">"Atlantic City Action"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6282</span>&nbsp;&nbsp;GAME( 1983, theglobp, suprglob, theglobp, theglobp, driver_device, 0,        ROT90,  <span class="string">"Epos Corporation"</span>, <span class="string">"The Glob (Pac-Man hardware)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6283</span>&nbsp;&nbsp;GAME( 1983, sprglobp, suprglob, theglobp, theglobp, driver_device, 0,        ROT90,  <span class="string">"Epos Corporation"</span>, <span class="string">"Super Glob (Pac-Man hardware)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6284</span>&nbsp;&nbsp;GAME( 1983, sprglbpg, suprglob, pacman,   theglobp, driver_device, 0,        ROT90,  <span class="string">"bootleg"</span>, <span class="string">"Super Glob (Pac-Man hardware) (German bootleg)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6285</span>&nbsp;&nbsp;GAME( 1984, beastf,   suprglob, theglobp, theglobp, driver_device, 0,        ROT90,  <span class="string">"Epos Corporation"</span>, <span class="string">"Beastie Feastie"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6286</span>&nbsp;&nbsp;GAME( 1984, drivfrcp, 0,        drivfrcp, drivfrcp, pacman_state,  drivfrcp, ROT90,  <span class="string">"Shinkai Inc. (Magic Electronics Inc. license)"</span>, <span class="string">"Driving Force (Pac-Man conversion)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6287</span>&nbsp;&nbsp;GAME( 1985, 8bpm,     8ballact, 8bpm,     8bpm,     pacman_state,  8bpm,     ROT90,  <span class="string">"Seatongrove Ltd (Magic Electronics USA license)"</span>, <span class="string">"Eight Ball Action (Pac-Man conversion)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6288</span>&nbsp;&nbsp;GAME( 1985, porky,    0,        porky,    porky,    pacman_state,  porky,    ROT90,  <span class="string">"Shinkai Inc. (Magic Electronics Inc. license)"</span>, <span class="string">"Porky"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6289</span>&nbsp;&nbsp;GAME( 1986, rocktrv2, 0,        rocktrv2, rocktrv2, pacman_state,  rocktrv2, ROT90,  <span class="string">"Triumph Software Inc."</span>, <span class="string">"MTV Rock-N-Roll Trivia (Part 2)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6290</span>&nbsp;&nbsp;GAME( 1986, bigbucks, 0,        bigbucks, bigbucks, driver_device, 0,        ROT90,  <span class="string">"Dynasoft Inc."</span>, <span class="string">"Big Bucks"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6291</span>&nbsp;&nbsp;GAME( 1992, mschamp,  mspacman, mschamp,  mschamp,  driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Ms. Pacman Champion Edition / Zola-Puc Gal"</span>, GAME_SUPPORTS_SAVE ) <span class="comment">/* Rayglo version */</span>
<span class="linenum"> 6292</span>&nbsp;&nbsp;GAME( 1995, mschamps, mspacman, mschamp,  mschamp,  driver_device, 0,        ROT90,  <span class="string">"hack"</span>, <span class="string">"Ms. Pacman Champion Edition / Super Zola-Puc Gal"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6293</span>&nbsp;&nbsp;GAME( 198?, cannonbp, 0,        pacman,   cannonbp, pacman_state,  cannonbp, ROT90,  <span class="string">"Novomatic"</span>, <span class="string">"Cannon Ball (Pac-Man Hardware)"</span>, GAME_WRONG_COLORS|GAME_SUPPORTS_SAVE )
<span class="linenum"> 6294</span>&nbsp;&nbsp;GAME( 1999, superabc, 0,        superabc, superabc, pacman_state,  superabc, ROT90,  <span class="string">"hack (Two-Bit Score)"</span>, <span class="string">"Super ABC (Pac-Man multigame kit, Sep. 03 1999)"</span>, GAME_SUPPORTS_SAVE )
<span class="linenum"> 6295</span>&nbsp;&nbsp;GAME( 1999, superabco,superabc, superabc, superabc, pacman_state,  superabc, ROT90,  <span class="string">"hack (Two-Bit Score)"</span>, <span class="string">"Super ABC (Pac-Man multigame kit, Mar. 08 1999)"</span>, GAME_SUPPORTS_SAVE )
	</pre>

            </div>
            <!-- content end --> 

		        <!-- footer start --> 
        <div id="footer" class="clearfix">
        	<p class="mame">
				<img class="mamelogo" alt="" src="/_include/img/logo-mame-small.gif"/>
                <span>&copy; Nicola Salmoria and the MAME team  |  MAME is a registered trademark of Nicola Salmoria  |  All rights reserved</span>
            </p>
            <p class="fullyillustrated">
            	Visual Design by <a title="Fully Illustrated" href="http://www.fullyillustrated.com/">Fully Illustrated</a>
				<a title="Fully Illustrated" href="http://www.fullyillustrated.com/" class="fullyillustratedlogo"><img alt="" src="/_include/img/logo-fully-illustrated.gif"/></a>
            </p>        	
        </div>
        <!-- footer end --> 

    
    </div>    
    </div>
    <!-- main end -->


</body>

</html>


